projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Applied Kevin Hock's combobox patch for text update events
[wxWidgets.git]
/
src
/
unix
/
baseunix.cpp
diff --git
a/src/unix/baseunix.cpp
b/src/unix/baseunix.cpp
index b265339a06d00621b0ceea033b37d4e9b15fd36c..0b03067e58be7a6ce950af1cc77e6937d9ca2acb 100644
(file)
--- a/
src/unix/baseunix.cpp
+++ b/
src/unix/baseunix.cpp
@@
-6,7
+6,7
@@
// Created: 23.06.2003
// RCS-ID: $Id$
// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
// Created: 23.06.2003
// RCS-ID: $Id$
// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
-// License: wxWindows licen
s
e
+// License: wxWindows licen
c
e
///////////////////////////////////////////////////////////////////////////////
// ============================================================================
///////////////////////////////////////////////////////////////////////////////
// ============================================================================
@@
-88,8
+88,9
@@
wxConsoleAppTraits::WaitForChild(wxExecuteData& execData)
// this is in mac/utils.cpp under Mac
#ifndef __WXMAC__
// this is in mac/utils.cpp under Mac
#ifndef __WXMAC__
-
int wxConsoleAppTraits::GetOSVersion(int *verMaj, int *verMin
)
+
wxToolkitInfo& wxConsoleAppTraits::GetToolkitInfo(
)
{
{
+ static wxToolkitInfo info;
int major, minor;
char name[256];
int major, minor;
char name[256];
@@
-100,12
+101,12
@@
int wxConsoleAppTraits::GetOSVersion(int *verMaj, int *verMin)
minor = -1;
}
minor = -1;
}
- i
f ( verMaj )
-
*verMaj = maj
or;
- i
f ( verMin )
-
*verMin = minor
;
+ i
nfo.versionMajor = major;
+
info.versionMinor = min
or;
+ i
nfo.name = _T("wxBase");
+
info.os = wxUNIX
;
- return
wxUNIX
;
+ return
info
;
}
#endif // __WXMAC__
}
#endif // __WXMAC__