X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6244848856584171db8cd74a7ff227250e46cc54..4d91c1d1aebe7872e50c2e35b0a436cac9cee53c:/include/wx/msw/private.h?ds=sidebyside diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index 54d0d96e88..d6ba8ae923 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -34,6 +34,7 @@ WXDLLEXPORT_DATA(extern HICON) wxDEFAULT_MDICHILDFRAME_ICON; WXDLLEXPORT_DATA(extern HFONT) wxSTATUS_LINE_FONT; WXDLLEXPORT HINSTANCE wxGetInstance(); +WXDLLEXPORT void wxSetInstance(HINSTANCE hInst); WXDLLEXPORT void wxFillLogFont(LOGFONT *logFont, wxFont *font); WXDLLEXPORT wxFont wxCreateFontFromLogFont(LOGFONT *logFont); // , bool createNew = TRUE); @@ -83,8 +84,8 @@ typedef signed short int SHORT ; #endif #if wxUSE_PENWIN -WXDLLEXPORT void wxRegisterPenWin(void); -WXDLLEXPORT void wxCleanUpPenWin(void); +WXDLLEXPORT void wxRegisterPenWin(); +WXDLLEXPORT void wxCleanUpPenWin(); WXDLLEXPORT void wxEnablePenAppHooks (bool hook); #endif @@ -105,13 +106,13 @@ VOID WINAPI ibAdjustWindowRect( HWND hWnd, LPRECT lprc ) ; * - NULL any extra child window pointers not created for this item * (e.g. label control that wasn't needed) * - delete any extra child windows in the destructor (e.g. label control) - * - implement GetSize and SetSize + * - implement DoSetSize * - to find panel position if coordinates are (-1, -1), use GetPosition * - call AdvanceCursor after creation, for panel layout mechanism. * */ -#if CTL3D +#if wxUSE_CTL3D #include #endif @@ -177,12 +178,20 @@ inline bool wxStyleHasBorder(long style) #define WS_EX_CLIENTEDGE 0 #endif +#if defined(__WIN32__) && !defined(WS_EX_CLIENTEDGE) + #define WS_EX_CLIENTEDGE 0x00000200L +#endif + #if defined(__WIN95__) && defined(__WXDEBUG__) && wxUSE_DBWIN32 + +#ifndef __TWIN32__ #ifdef OutputDebugString #undef OutputDebugString #endif #define OutputDebugString OutputDebugStringW95 +#endif + extern void OutputDebugStringW95(const char*, ...); #endif