More Motif stuff

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-09-20 20:59:30 +00:00
parent b112d15289
commit dfc5454127
29 changed files with 1355 additions and 371 deletions

View File

@@ -222,7 +222,7 @@ bool wxFrame::Create(wxWindow *parent,
m_mainWidget = m_frameWidget;
// This patch comes from Torsten Liermann lier@lier1.muc.de
if (XmIsMotifWMRunning( (Widget) wxTheApp->GetTopLevelWidget()))
if (XmIsMotifWMRunning( (Widget) m_frameShell ))
{
int decor = 0 ;
if (style & wxRESIZE_BORDER)
@@ -248,7 +248,7 @@ bool wxFrame::Create(wxWindow *parent,
else
{
if (style == 0)
XtVaSetValues((Widget) m_frameShell,XmNoverrideRedirect,TRUE,NULL);
XtVaSetValues((Widget) m_frameShell,XmNoverrideRedirect,TRUE,NULL);
}
XtRealizeWidget((Widget) m_frameShell);
@@ -329,7 +329,7 @@ wxFrame::~wxFrame()
if (wxTheApp->GetExitOnFrameDelete())
{
// TODO signal to the app that we're going to close
// Signal to the app that we're going to close
wxTheApp->ExitMainLoop();
}
}