update the real window flags when extended flags change and not only the normal ones

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-06-11 22:44:53 +00:00
parent 188cb2af4f
commit 7bd6bf45ad
2 changed files with 43 additions and 12 deletions

View File

@@ -84,7 +84,8 @@ public:
virtual void Freeze();
virtual void Thaw();
virtual void SetWindowStyleFlag( long style );
virtual void SetWindowStyleFlag(long style);
virtual void SetExtraStyle(long exStyle);
virtual bool SetCursor( const wxCursor &cursor );
virtual bool SetFont( const wxFont &font );
@@ -206,6 +207,11 @@ public:
WXDWORD MSWGetCreateWindowFlags(WXDWORD *exflags = NULL) const
{ return MSWGetStyle(GetWindowStyle(), exflags); }
// update the real underlying window style flags to correspond to the
// current wxWindow object style (safe to call even if window isn't fully
// created yet)
void MSWUpdateStyle(long flagsOld, long exflagsOld);
// translate wxWidgets coords into Windows ones suitable to be passed to
// ::CreateWindow()
//