nsRect rect(aX, aY, aWidth, 25);
nsRect rect(aX, aY, aWidth, 25);  #ifdef USE_LOCAL_WIDGETS rv = NS_NewButton(&button); NS_ADDREF(button); #else
int createTestButton(nsIWidget * aWin,                      char * aTitle,                      int aX,                      int aY,                      int aWidth,                      EVENT_CALLBACK aHandleEventFunction) {  nsIButton *button;  nsRect rect(aX, aY, aWidth, 25);    nsComponentManager::CreateInstance(kCButtonCID, nsnull, kIButtonIID, (void **) &button);  NS_CreateButton(aWin,button,rect,aHandleEventFunction);  button->SetLabel(aTitle);  return aX + aWidth;}