]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/dllwidget/test_dll.cpp
apparently the check for too small rect is needed not only with wxNB_MULTILINE (see...
[wxWidgets.git] / wxPython / demo / dllwidget / test_dll.cpp
index 0c2d92e16f0e87597fbd432c34f14177b54f0952..4790351db701f5e95e15d3252e5c50240352409b 100644 (file)
@@ -9,7 +9,7 @@ class TestWindow : public wxWindow
 {
 public:
     TestWindow(wxWindow *parent, long style)
 {
 public:
     TestWindow(wxWindow *parent, long style)
-        : wxWindow(parent, -1)
+        : wxWindow(parent, wxID_ANY)
     {
         SetBackgroundColour(wxColour("white"));
     }
     {
         SetBackgroundColour(wxColour("white"));
     }