]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/toplevel.cpp
Test for result of searching for wxID_CANCEL button
[wxWidgets.git] / src / motif / toplevel.cpp
index 9968142e4146c101ba4cef6008d759aeff63560e..8b54b2175c7239e9f0ce93f74166dd698d1123a5 100644 (file)
@@ -336,6 +336,13 @@ void wxTopLevelWindowMotif::SetSizeHints( int minW, int minH,
     XtSetValues( (Widget)GetShellWidget(), args, count ); 
 }
 
+bool wxTopLevelWindowMotif::SetShape( const wxRegion& region )
+{
+    return wxDoSetShape( (Display*)GetXDisplay(),
+                         XtWindow( (Widget)GetShellWidget() ),
+                         region );
+}
+
 // ---------------------------------------------------------------------------
 // Callback definition
 // ---------------------------------------------------------------------------