X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/621ccd8a82647e094bdf539501b648df5de7efab..e50d5284f9b468609e4b55b69329a6e83a1d0c8e:/src/os2/utilsgui.cpp diff --git a/src/os2/utilsgui.cpp b/src/os2/utilsgui.cpp index f77d16db2c..d5153224f1 100644 --- a/src/os2/utilsgui.cpp +++ b/src/os2/utilsgui.cpp @@ -31,6 +31,9 @@ #include "wx/cursor.h" #endif //WX_PRECOMP +#include "wx/apptrait.h" +#include "wx/timer.h" + #include "wx/os2/private.h" // includes // ============================================================================ @@ -470,6 +473,16 @@ void wxClientDisplayRect(int *x, int *y, int *width, int *height) wxDisplaySize(width, height); } +void wxGUIAppTraits::InitializeGui(unsigned long &ulHab) +{ + ulHab = ::WinInitialize(0); +} + +void wxGUIAppTraits::TerminateGui(unsigned long ulHab) +{ + ::WinTerminate(ulHab); +} + wxToolkitInfo & wxGUIAppTraits::GetToolkitInfo() { static wxToolkitInfo vInfo;