]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/sashtest/sashtest.cpp
Various changes for Salford C++, and commited fileconf.h/fileconf.cpp changes
[wxWidgets.git] / samples / sashtest / sashtest.cpp
index a7b3dd59400cc81050e8a9d160b06cd03b65b8aa..3917a31ab25881ec7a9609b529f1257a06cf7d56 100644 (file)
@@ -207,7 +207,7 @@ void MyFrame::OnNewWindow(wxCommandEvent& WXUNUSED(event))
 {
       // Make another frame, containing a canvas
       MyChild *subframe = new MyChild(frame, "Canvas Frame", wxPoint(10, 10), wxSize(300, 300),
-                             wxDEFAULT_FRAME);
+                             wxDEFAULT_FRAME_STYLE);
 
       char titleBuf[100];
       sprintf(titleBuf, "Canvas Frame %d", winNumber);