]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/textdlgg.cpp
don't set virtual size of the window to (0, 0) if scrollbars are removed from it
[wxWidgets.git] / src / generic / textdlgg.cpp
index 70d8a220ff9c6d784d883214310e33eafd21bfd2..32dbecd26ef4d9bca35fd6d1238cc7945709ed36 100644 (file)
@@ -97,8 +97,10 @@ wxTextEntryDialog::wxTextEntryDialog(wxWindow *parent,
 
     wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL );
 
+#if wxUSE_STATTEXT
     // 1) text message
     topsizer->Add( CreateTextSizer( message ), 0, wxALL, wxLARGESMALL(10,0) );
+#endif        
 
     // 2) text ctrl
     m_textctrl = new wxTextCtrl(this, wxID_TEXT, value,