Corrected thread.h inline problem. Set WXWIN_COMPATIBILITY to 0 by default in wxMSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -22,11 +22,12 @@
|
||||
#define _WX_GOODCOMPILER__
|
||||
// gcc can have problems, but Windows compilers
|
||||
// are generally OK.
|
||||
#define WXWIN_COMPATIBILITY 1
|
||||
// Compatibility with 1.66 API.
|
||||
#define WXWIN_COMPATIBILITY 0
|
||||
// Compatibility with 1.68 API.
|
||||
// Level 0: no backward compatibility, all new features
|
||||
// Level 1: wxDC, OnSize (etc.) compatibility, but
|
||||
// some new features such as event tables
|
||||
// Level 1: Some compatibility. In fact
|
||||
// the compatibility code is now very minimal so there
|
||||
// is little advantage to setting it to 1.
|
||||
|
||||
#define wxUSE_AUTOTRANS 1
|
||||
// Define wxTString
|
||||
|
@@ -301,10 +301,10 @@ public:
|
||||
void WXDLLEXPORT wxMutexGuiLeaveOrEnter();
|
||||
|
||||
// returns TRUE if the main thread has GUI lock
|
||||
inline bool WXDLLEXPORT wxGuiOwnedByMainThread();
|
||||
bool WXDLLEXPORT wxGuiOwnedByMainThread();
|
||||
|
||||
// wakes up the main thread if it's sleeping inside ::GetMessage()
|
||||
inline void WXDLLEXPORT wxWakeUpMainThread();
|
||||
void WXDLLEXPORT wxWakeUpMainThread();
|
||||
#else // !MSW
|
||||
// implement wxCriticalSection using mutexes
|
||||
inline wxCriticalSection::wxCriticalSection() { }
|
||||
|
Reference in New Issue
Block a user