replaced wxGetOsVersion() with wxGUIAppTraits::GetOSVersion()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
#include "wx/setup.h"
|
#include "wx/setup.h"
|
||||||
#include "wx/utils.h"
|
#include "wx/utils.h"
|
||||||
#include "wx/app.h"
|
#include "wx/app.h"
|
||||||
|
#include "wx/apptrait.h"
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
@@ -192,7 +193,7 @@ void wxBell()
|
|||||||
SysBeep(30);
|
SysBeep(30);
|
||||||
}
|
}
|
||||||
|
|
||||||
int wxGetOsVersion(int *majorVsn, int *minorVsn)
|
int wxGUIAppTraits::GetOSVersion(int *majorVsn, int *minorVsn)
|
||||||
{
|
{
|
||||||
long theSystem ;
|
long theSystem ;
|
||||||
|
|
||||||
|
@@ -17,6 +17,7 @@
|
|||||||
#include "wx/setup.h"
|
#include "wx/setup.h"
|
||||||
#include "wx/utils.h"
|
#include "wx/utils.h"
|
||||||
#include "wx/app.h"
|
#include "wx/app.h"
|
||||||
|
#include "wx/apptrait.h"
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
@@ -192,7 +193,7 @@ void wxBell()
|
|||||||
SysBeep(30);
|
SysBeep(30);
|
||||||
}
|
}
|
||||||
|
|
||||||
int wxGetOsVersion(int *majorVsn, int *minorVsn)
|
int wxGUIAppTraits::GetOSVersion(int *majorVsn, int *minorVsn)
|
||||||
{
|
{
|
||||||
long theSystem ;
|
long theSystem ;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user