]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/dcclient.h
avoid GCC warning about type-punned pointer breaking strict aliasing rules
[wxWidgets.git] / include / wx / x11 / dcclient.h
index 928edfaf5648c6324f90096fb23e9f54768d1052..627df84efd939716d025064245dd62d962c2c215 100644 (file)
@@ -103,7 +103,7 @@ public:
     virtual wxSize GetPPI() const;
 
     virtual void DestroyClippingRegion();
-    WXWindow GetWindow() const { return m_window; }
+    WXWindow GetX11Window() const { return m_x11window; }
 
     virtual void ComputeScaleAndOrigin();