]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/reparent.h
Add missing Init() call to one of wxListBox ctors in wxMSW.
[wxWidgets.git] / include / wx / x11 / reparent.h
index e1121be4eb3df82f07dcd9409922e5690baee696..500e2eaf49e9035b3eb0653a69ce2a1f9b090ee8 100644 (file)
@@ -60,7 +60,7 @@ class WXDLLIMPEXP_CORE wxAdoptedWindow: public wxWindow
     virtual ~wxAdoptedWindow();
 
     void SetHandle(WXWindow window) { m_mainWindow = window; m_clientWindow = window; }
-    WXWindow GetHandle() const { return GetMainWindow(); }
+    WXWindow GetHandle() const { return X11GetMainWindow(); }
 };
 
 #endif