Hack to try to reduce flicker by creating controls without WS_VISIBLE
(define WS_VISIBLE to 0).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24644
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
typedef SPBCDATA *PSPBCDATA;
#endif
typedef SPBCDATA *PSPBCDATA;
#endif
+#undef WS_VISIBLE
+#define WS_VISIBLE 0
+
#include "wx/fontenc.h"
class WXDLLEXPORT wxFont;
#include "wx/fontenc.h"
class WXDLLEXPORT wxFont;
// standard icons from the resources
// ---------------------------------------------------------------------------
// standard icons from the resources
// ---------------------------------------------------------------------------
WXDLLEXPORT_DATA(extern HICON) wxSTD_FRAME_ICON;
WXDLLEXPORT_DATA(extern HICON) wxSTD_MDIPARENTFRAME_ICON;
WXDLLEXPORT_DATA(extern HICON) wxSTD_FRAME_ICON;
WXDLLEXPORT_DATA(extern HICON) wxSTD_MDIPARENTFRAME_ICON;
WXDLLEXPORT_DATA(extern HICON) wxDEFAULT_MDICHILDFRAME_ICON;
WXDLLEXPORT_DATA(extern HFONT) wxSTATUS_LINE_FONT;
WXDLLEXPORT_DATA(extern HICON) wxDEFAULT_MDICHILDFRAME_ICON;
WXDLLEXPORT_DATA(extern HFONT) wxSTATUS_LINE_FONT;
// ---------------------------------------------------------------------------
// this defines a CASTWNDPROC macro which casts a pointer to the type of a
// ---------------------------------------------------------------------------
// this defines a CASTWNDPROC macro which casts a pointer to the type of a
// Scale font to get edit control height
#define EDIT_HEIGHT_FROM_CHAR_HEIGHT(cy) (3*(cy)/2)
// Scale font to get edit control height
#define EDIT_HEIGHT_FROM_CHAR_HEIGHT(cy) (3*(cy)/2)
// Generic subclass proc, for panel item moving/sizing and intercept
// EDIT control VK_RETURN messages
// Generic subclass proc, for panel item moving/sizing and intercept
// EDIT control VK_RETURN messages
}
#define WinSendMsg MySendMsg
}
#define WinSendMsg MySendMsg
WXDLLEXPORT void wxDrawBorder( HPS hPS
,RECTL& rRect
WXDLLEXPORT void wxDrawBorder( HPS hPS
,RECTL& rRect
WXDLLEXPORT extern COLORREF wxColourToRGB(const wxColour& rColor);
WXDLLEXPORT extern COLORREF wxColourToRGB(const wxColour& rColor);