X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c50f1fb9226d9260454ccb9c8a67d0be23c2827f..0cdf89abb10990c7f0152aabc464425a5478157f:/include/wx/msw/private.h diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index ea234b7964..f9136f96e3 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -56,7 +56,7 @@ WXDLLEXPORT_DATA(extern HFONT) wxSTATUS_LINE_FONT; // window proc // --------------------------------------------------------------------------- -#if defined(__GNUWIN32__) && !defined(__MINGW32__) +#if defined(__GNUWIN32__) && !defined(wxUSE_NORLANDER_HEADERS) # define CASTWNDPROC (long unsigned) #else # ifdef __BORLANDC__ @@ -69,7 +69,7 @@ WXDLLEXPORT_DATA(extern HFONT) wxSTATUS_LINE_FONT; # endif # else -# if defined (__WIN32__) && defined(STRICT) +# if defined (__WIN32__) && defined(STRICT) typedef long (_stdcall * WndProcCast) (HWND, unsigned int, unsigned int, long); # define CASTWNDPROC (WndProcCast) # elif defined(__WIN16__) @@ -139,17 +139,17 @@ WXDLLEXPORT_DATA(extern HFONT) wxSTATUS_LINE_FONT; * for this combination of CTl3D/FAFA settings */ -#define STATIC_CLASS _T("STATIC") +#define STATIC_CLASS wxT("STATIC") #define STATIC_FLAGS (SS_LEFT|WS_CHILD|WS_VISIBLE) -#define CHECK_CLASS _T("BUTTON") +#define CHECK_CLASS wxT("BUTTON") #define CHECK_FLAGS (BS_AUTOCHECKBOX|WS_TABSTOP|WS_CHILD) #define CHECK_IS_FAFA FALSE -#define RADIO_CLASS _T("BUTTON") +#define RADIO_CLASS wxT("BUTTON") #define RADIO_FLAGS (BS_AUTORADIOBUTTON|WS_CHILD|WS_VISIBLE) #define RADIO_SIZE 20 #define RADIO_IS_FAFA FALSE #define PURE_WINDOWS -#define GROUP_CLASS _T("BUTTON") +#define GROUP_CLASS wxT("BUTTON") #define GROUP_FLAGS (BS_GROUPBOX|WS_CHILD|WS_VISIBLE) /* @@ -242,7 +242,11 @@ WXDLLEXPORT_DATA(extern HINSTANCE) wxhInstance; // global functions // --------------------------------------------------------------------------- +extern "C" +{ WXDLLEXPORT HINSTANCE wxGetInstance(); +} + WXDLLEXPORT void wxSetInstance(HINSTANCE hInst); WXDLLEXPORT wxWindow* wxFindWinFromHandle(WXHWND hWnd);