]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/deprecated/proplist/proplist.cpp
Added script to bake everthing (OK, so it's trivial...)
[wxWidgets.git] / contrib / samples / deprecated / proplist / proplist.cpp
index 37b931a031ed7ea677da96a506bcf99f035298d6..ea5e4e9931c39e4b5711a0e0fdc96efcfcb06179 100644 (file)
@@ -307,7 +307,7 @@ void MyApp::PropertyFormTest(bool useDialog)
 
     // The name of this text item matches the "fred" property
     wxTextCtrl *text = new wxTextCtrl(panel, wxID_ANY, _T("Fred"), wxDefaultPosition,
-        wxSize( 200, wxDefaultSize.y), 0, wxDefaultValidator, _T("fred"));
+        wxSize( 200, wxDefaultCoord), 0, wxDefaultValidator, _T("fred"));
 
     c = new wxLayoutConstraints;
     c->left.SameAs(panel, wxLeft, 4);