]> 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 605d787a36254f51cfb39630fcf82edbb0801f69..4790351db701f5e95e15d3252e5c50240352409b 100644 (file)
@@ -3,13 +3,13 @@
 #include <wx/window.h>
 #include <wx/msgdlg.h>
 
-#include "../dllwidget.h"
+#include "../../contrib/dllwidget/dllwidget.h"
 
 class TestWindow : public wxWindow
 {
 public:
     TestWindow(wxWindow *parent, long style)
-        : wxWindow(parent, -1)
+        : wxWindow(parent, wxID_ANY)
     {
         SetBackgroundColour(wxColour("white"));
     }