]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/private/gdkconv.h
wxVariant <-> wxAny conversion functionality. Includes implicit construction of wxAny...
[wxWidgets.git] / include / wx / gtk / private / gdkconv.h
index 9b188849705591e40fc76891d7a129b5abe07d6d..e87dd86df06239252724dd1993b65b568f9f23d4 100644 (file)
@@ -19,6 +19,14 @@ inline wxRect wxRectFromGDKRect(const GdkRectangle *r)
     return wxRect(r->x, r->y, r->width, r->height);
 }
 
+inline void wxRectToGDKRect(const wxRect& rect, GdkRectangle& r)
+{
+    r.x = rect.x;
+    r.y = rect.y;
+    r.width = rect.width;
+    r.height = rect.height;
+}
+
 } // namespace wxGTKImpl
 
 #endif // _GTK_PRIVATE_GDKCONV_H_