]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/numdlgg.cpp
Applied patch [ 1178610 ] datectlg.cpp: wxDropdownButton + bug fixes
[wxWidgets.git] / src / generic / numdlgg.cpp
index 2c6ffa665d68dcdbe088a3f45ca66ec6caf7c158..e148a5d12139c90162aee5aa06da7fa6d761f0c2 100644 (file)
@@ -18,7 +18,7 @@
 // ----------------------------------------------------------------------------
 
 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "numdlgg.cpp"
+    #pragma implementation "numdlgg.h"
 #endif
 
 // For compilers that support precompilation, includes "wx.h".
@@ -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();