]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/deprecated/proplist/proplist.cpp
Removed unused Symantec (*.sc) build system. Symantec C++ is now replaced by DigitalMars.
[wxWidgets.git] / contrib / samples / deprecated / proplist / proplist.cpp
index 37b931a031ed7ea677da96a506bcf99f035298d6..29b746899fc0fb6c161a139f5ea7ca94ea92e229 100644 (file)
@@ -9,10 +9,6 @@
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-#pragma implementation "proplist_sample.h"
-#endif
-
 // For compilers that support precompilation, includes "wx/wx.h".
 #include "wx/wxprec.h"
 
@@ -307,7 +303,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);