X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34e8f09728ccbc0929cc4da77a9e47d13634eb14..a83ea9c15a7ac7bbdc6686164cfcbbc21ae5031a:/src/motif/frame.cpp?ds=inline diff --git a/src/motif/frame.cpp b/src/motif/frame.cpp index 7b325f41da..36e8008510 100644 --- a/src/motif/frame.cpp +++ b/src/motif/frame.cpp @@ -364,7 +364,7 @@ void wxFrame::DoGetClientSize(int *x, int *y) const } // Set the client size (i.e. leave the calculation of borders etc. -// to wxWindows) +// to wxWidgets) void wxFrame::DoSetClientSize(int width, int height) { // Calculate how large the new main window should be @@ -430,8 +430,8 @@ void wxFrame::DoSetSize(int x, int y, int width, int height, int WXUNUSED(sizeFl bool wxFrame::Show( bool show ) { - if( !wxTopLevelWindowMotif::Show( show ) ) - return FALSE; + if( !wxWindowBase::Show( show ) ) + return false; m_isShown = show; @@ -442,15 +442,14 @@ bool wxFrame::Show( bool show ) SetVisibleStatus(show); if (show) { - XtMapWidget (shell); - XRaiseWindow (XtDisplay(shell), XtWindow(shell)); + XtPopup(shell, XtGrabNone); } else { - XtUnmapWidget(shell); + XtPopdown(shell); } - return TRUE; + return true; } void wxFrame::SetTitle(const wxString& title)