]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/reparent.h
fixing warning and compile error against 10.4
[wxWidgets.git] / include / wx / x11 / reparent.h
index b32d43f71c831777ee9c58e9f93fd3059d80d7a2..500e2eaf49e9035b3eb0653a69ce2a1f9b090ee8 100644 (file)
@@ -39,7 +39,7 @@ protected:
 
     bool ProcessXEvent(WXEvent* event);
     WXWindow FindAClientWindow(WXWindow window, const wxString& name);
-    
+
     static bool sm_done;
     static wxAdoptedWindow* sm_toReparent;
     static wxWindow* sm_newParent;
@@ -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