nsComponentManager::CreateInstance(kCButtonCID, nsnull, kIButtonIID, (void**)&button);
nsIButton* createSimpleButton(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 button;}