]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/textdlgg.cpp
Added Set/GetQuickBestSize
[wxWidgets.git] / src / generic / textdlgg.cpp
index 5abada8309e3f4776aea76a34f7372364a1ffdd8..2a9f132a23f155ca7cb6e44a3453010a606d4bf9 100644 (file)
@@ -124,13 +124,11 @@ wxTextEntryDialog::wxTextEntryDialog(wxWindow *parent,
     SetAutoLayout( true );
     SetSizer( topsizer );
 
-#if !defined(__SMARTPHONE__) && !defined(__POCKETPC__)
     topsizer->SetSizeHints( this );
     topsizer->Fit( this );
 
     if ( style & wxCENTRE )
         Centre( wxBOTH );
-#endif
 
     m_textctrl->SetSelection(-1, -1);
     m_textctrl->SetFocus();