many changes; major ones:
1. start of !wxUSE_GUI support 2. _T() macro renamed to T() 3. wxConvertWX2MB and MB2WX macro added git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -74,7 +74,7 @@ WXDLLEXPORT bool StringMatch(wxChar *one, wxChar *two, bool subString = TRUE, bo
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// Sound the bell
|
||||
WXDLLEXPORT void wxBell(void) ;
|
||||
WXDLLEXPORT void wxBell();
|
||||
|
||||
// Get OS version
|
||||
WXDLLEXPORT int wxGetOsVersion(int *majorVsn= (int *) NULL,int *minorVsn= (int *) NULL) ;
|
||||
@@ -82,6 +82,7 @@ WXDLLEXPORT int wxGetOsVersion(int *majorVsn= (int *) NULL,int *minorVsn= (int *
|
||||
// Return a string with the current date/time
|
||||
WXDLLEXPORT wxString wxNow();
|
||||
|
||||
#if wxUSE_GUI
|
||||
// Don't synthesize KeyUp events holding down a key and producing
|
||||
// KeyDown events with autorepeat. On by default and always on
|
||||
// in wxMSW.
|
||||
@@ -106,6 +107,8 @@ WXDLLEXPORT void wxRegisterId(long id);
|
||||
// Return the current ID
|
||||
WXDLLEXPORT long wxGetCurrentId();
|
||||
|
||||
#endif // wxUSE_GUI
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Various conversions
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -215,6 +218,8 @@ WXDLLEXPORT const wxMB2WXbuf wxGetUserHome(const wxString& user = wxEmptyString)
|
||||
WXDLLEXPORT wxChar* wxGetUserHome(const wxString& user = wxEmptyString);
|
||||
#endif
|
||||
|
||||
#if wxUSE_GUI // GUI only things from now on
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Strip out any menu codes
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -388,5 +393,7 @@ extern wxNativeFont wxLoadQueryNearestFont(int pointSize,
|
||||
|
||||
#endif // X || GTK
|
||||
|
||||
#endif // wxUSE_GUI
|
||||
|
||||
#endif
|
||||
// _WX_UTILSH__
|
||||
|
Reference in New Issue
Block a user