]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/numdlgg.cpp
corrected version number extraction
[wxWidgets.git] / src / generic / numdlgg.cpp
index ed2103030d67f47f23dbfdd8f581592b08b2c231..e148a5d12139c90162aee5aa06da7fa6d761f0c2 100644 (file)
@@ -150,10 +150,12 @@ wxNumberEntryDialog::wxNumberEntryDialog(wxWindow *parent,
     SetSizer( topsizer );
     SetAutoLayout( true );
 
+#if !defined(__SMARTPHONE__) && !defined(__POCKETPC__)
     topsizer->SetSizeHints( this );
     topsizer->Fit( this );
 
     Centre( wxBOTH );
+#endif
 
     m_spinctrl->SetSelection(-1, -1);
     m_spinctrl->SetFocus();