Fixed bug [ 865999 ] wxRETAINED windows appear blank on MSW.

wxRETAINED defined to 0 on non-Motif platforms to avoid
clash with wxPOPUP_WINDOW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-02-08 15:03:28 +00:00
parent 923963291f
commit d72dcc19ce

View File

@@ -935,8 +935,16 @@ enum wxBorder
// Windows, it won't normally get the dialog navigation key events) // Windows, it won't normally get the dialog navigation key events)
#define wxWANTS_CHARS 0x00040000 #define wxWANTS_CHARS 0x00040000
// Make window retained (mostly Motif, I think) -- obsolete (VZ)? /* Make window retained (Motif only, see src/generic/scrolwing.cpp)
* This is non-zero only under wxMotif, to avoid a clash with wxPOPUP_WINDOW
* on other platforms
*/
#ifdef __WXMOTIF__
#define wxRETAINED 0x00020000 #define wxRETAINED 0x00020000
#else
#define wxRETAINED 0x00000000
#endif
#define wxBACKINGSTORE wxRETAINED #define wxBACKINGSTORE wxRETAINED
// set this flag to create a special popup window: it will be always shown on // set this flag to create a special popup window: it will be always shown on