projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow entering minus sign in wxMSW wxSpinCtrl if needed.
[wxWidgets.git]
/
src
/
os2
/
utilsgui.cpp
diff --git
a/src/os2/utilsgui.cpp
b/src/os2/utilsgui.cpp
index 03436d722ba4563e6881004ea8e60b1379e0a283..3dd15372085f2ed03811d181df26d3f3f0b9c906 100644
(file)
--- a/
src/os2/utilsgui.cpp
+++ b/
src/os2/utilsgui.cpp
@@
-33,6
+33,8
@@
#endif //WX_PRECOMP
#include "wx/apptrait.h"
#endif //WX_PRECOMP
#include "wx/apptrait.h"
+#include "wx/os2/private/timer.h"
+#include "wx/evtloop.h"
#include "wx/os2/private.h" // includes <windows.h>
#include "wx/os2/private.h" // includes <windows.h>
@@
-80,7
+82,7
@@
void wxBeginBusyCursor(const wxCursor* pCursor)
void wxEndBusyCursor()
{
wxCHECK_RET( gs_wxBusyCursorCount > 0
void wxEndBusyCursor()
{
wxCHECK_RET( gs_wxBusyCursorCount > 0
- ,
_
T("no matching wxBeginBusyCursor() for wxEndBusyCursor()")
+ ,
wx
T("no matching wxBeginBusyCursor() for wxEndBusyCursor()")
);
if (--gs_wxBusyCursorCount == 0)
);
if (--gs_wxBusyCursorCount == 0)
@@
-114,7
+116,7
@@
bool wxCheckForInterrupt( wxWindow* pWnd )
}
else
{
}
else
{
- wxFAIL_MSG(
_
T("pWnd==NULL !!!"));
+ wxFAIL_MSG(
wx
T("pWnd==NULL !!!"));
return false;//*** temporary?
}
}
return false;//*** temporary?
}
}
@@
-261,6
+263,15
@@
wxPortId wxGUIAppTraits::GetToolkitVersion(int *verMaj, int *verMin) const
return wxPORT_OS2;
}
return wxPORT_OS2;
}
+wxTimerImpl* wxGUIAppTraits::CreateTimerImpl(wxTimer *timer)
+{
+ return new wxOS2TimerImpl(timer);
+}
+
+wxEventLoopBase* wxGUIAppTraits::CreateEventLoop()
+{
+ return new wxEventLoop;
+}
// ---------------------------------------------------------------------------
// window information functions
// ---------------------------------------------------------------------------
// window information functions