compilation fix for wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-06-24 01:31:22 +00:00
parent 153ecbb81c
commit 46446cc2aa
10 changed files with 24 additions and 18 deletions

View File

@@ -10,6 +10,7 @@
#include "wx/utils.h"
#include "wx/string.h"
#include "wx/apptrait.h"
#include "wx/intl.h"
#include "wx/log.h"
@@ -121,12 +122,14 @@ int wxDisplayDepth()
return gdk_window_get_visual( wxGetRootWindow()->window )->depth;
}
int wxGetOsVersion(int *majorVsn, int *minorVsn)
int wxGUIAppTraits::GetOSVersion(int *majorVsn, int *minorVsn)
{
if (majorVsn) *majorVsn = GTK_MAJOR_VERSION;
if (minorVsn) *minorVsn = GTK_MINOR_VERSION;
if (majorVsn)
*majorVsn = GTK_MAJOR_VERSION;
if (minorVsn)
*minorVsn = GTK_MINOR_VERSION;
return wxGTK;
return wxGTK;
}
wxWindow* wxFindWindowAtPoint(const wxPoint& pt)