X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94f5392355df17ef8cd4884637a1ce71a07dd685..8397b2f7a98e25b5bcc500c40343d36b2d2e24a7:/src/generic/fdrepdlg.cpp?ds=sidebyside diff --git a/src/generic/fdrepdlg.cpp b/src/generic/fdrepdlg.cpp index 1d14141be1..716aaf5aef 100644 --- a/src/generic/fdrepdlg.cpp +++ b/src/generic/fdrepdlg.cpp @@ -93,7 +93,11 @@ bool wxGenericFindReplaceDialog::Create(wxWindow *parent, { if ( !wxDialog::Create(parent, wxID_ANY, title, wxDefaultPosition, wxDefaultSize, - wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | style) ) + wxDEFAULT_DIALOG_STYLE +#if !defined(__SMARTPHONE__) && !defined(__POCKETPC__) + | wxRESIZE_BORDER +#endif + | style) ) { return false; } @@ -210,10 +214,12 @@ bool wxGenericFindReplaceDialog::Create(wxWindow *parent, SetAutoLayout( true ); SetSizer( topsizer ); +#if !defined(__SMARTPHONE__) && !defined(__POCKETPC__) topsizer->SetSizeHints( this ); topsizer->Fit( this ); Centre( wxBOTH ); +#endif m_textFind->SetFocus();