projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
restored variabes initialization in OnButtonSet() to avoid spurious MSVC warnings
[wxWidgets.git]
/
src
/
os2
/
utilsgui.cpp
diff --git
a/src/os2/utilsgui.cpp
b/src/os2/utilsgui.cpp
index 8fd49de6305261953936d4e7bf046ff10fc8c3aa..dc2651beefbb0849e4da18f024c90a4a333e9fba 100644
(file)
--- a/
src/os2/utilsgui.cpp
+++ b/
src/os2/utilsgui.cpp
@@
-28,6
+28,7
@@
#include "wx/utils.h"
#include "wx/app.h"
#include "wx/cursor.h"
#include "wx/utils.h"
#include "wx/app.h"
#include "wx/cursor.h"
+ #include "wx/font.h"
#include "wx/timer.h"
#endif //WX_PRECOMP
#include "wx/timer.h"
#endif //WX_PRECOMP
@@
-437,9
+438,10
@@
void wxGUIAppTraits::TerminateGui(unsigned long ulHab)
::WinTerminate(ulHab);
}
::WinTerminate(ulHab);
}
-wxPortId wxGUIAppTraits::GetToolkitVersion(int *
WXUNUSED(verMaj), int *WXUNUSED(verMin)
) const
+wxPortId wxGUIAppTraits::GetToolkitVersion(int *
verMaj, int *verMin
) const
{
{
- // TODO: how to get version of PM ?
+ // How to get version of PM ? I guess, just reusing the OS version is OK.
+ (void) wxGetOsVersion(verMaj, verMin);
return wxPORT_OS2;
}
return wxPORT_OS2;
}