]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/textdlgg.cpp
for built-in dialogs, there is no m_peer instance, and still we might have a Refresh...
[wxWidgets.git] / src / generic / textdlgg.cpp
index 52c2c15c722b9b4bed1a5bc8fb6439152b69e0b5..46b3f6ea66b3cd82dd4ad3ffac1e130786757aa7 100644 (file)
@@ -88,7 +88,7 @@ wxTextEntryDialog::wxTextEntryDialog(wxWindow *parent,
 
     // 2) text ctrl
     m_textctrl = new wxTextCtrl(this, wxID_TEXT, value,
-                                wxDefaultPosition, wxSize(300, wxDefaultSize.y),
+                                wxDefaultPosition, wxSize(300, wxDefaultCoord),
                                 style & ~wxTextEntryDialogStyle);
     topsizer->Add( m_textctrl, 1, wxEXPAND | wxLEFT|wxRIGHT, 15 );