X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b6d76bfd477722d73589b20a15d05b8b570bd61..b8f434e731d0f6153a87988777baa4c2fbe629c6:/src/motif/app.cpp diff --git a/src/motif/app.cpp b/src/motif/app.cpp index 90e6fc94b9..4fa8fbcc8f 100644 --- a/src/motif/app.cpp +++ b/src/motif/app.cpp @@ -18,20 +18,24 @@ #endif #include "wx/app.h" -#include "wx/utils.h" -#include "wx/module.h" -#include "wx/memory.h" -#include "wx/log.h" -#include "wx/intl.h" + +#ifndef WX_PRECOMP + #include "wx/hash.h" + #include "wx/intl.h" + #include "wx/log.h" + #include "wx/utils.h" + #include "wx/memory.h" + #include "wx/font.h" +#endif + #include "wx/evtloop.h" -#include "wx/hash.h" #if wxUSE_THREADS #include "wx/thread.h" #endif #ifdef __VMS__ -#pragma message disable nosimpint + #pragma message disable nosimpint #endif #include #include @@ -39,7 +43,7 @@ #include #include #ifdef __VMS__ -#pragma message enable nosimpint + #pragma message enable nosimpint #endif #include "wx/motif/private.h" @@ -63,7 +67,6 @@ static void wxTLWidgetDestroyCallback(Widget w, XtPointer clientData, XtPointer ptr); static WXWidget wxCreateTopLevelWidget( WXDisplay* display ); -extern wxList wxPendingDelete; extern bool wxAddIdleCallback(); wxHashTable *wxWidgetHashTable = NULL; @@ -374,7 +377,7 @@ WXWidget wxCreateTopLevelRealizedWidget( WXDisplay* WXUNUSED(display) ) { Widget rTlw = XtVaCreateWidget( "dummy_widget", topLevelShellWidgetClass, (Widget)wxTheApp->GetTopLevelWidget(), - NULL, 0 ); + NULL ); XtSetMappedWhenManaged( rTlw, False ); XtRealizeWidget( rTlw );