X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c42404a58eac2c9eb0557565a471a794c387a715..4e28924cdb58dfbba0ec6cd5d52ef1346d0cb569:/include/wx/msw/window.h?ds=sidebyside diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index 20f6cbb2aa..bb3c5a2cd9 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -161,6 +161,10 @@ public: wxWindow* GetWindowChild1(wxWindowID id); wxWindow* GetWindowChild(wxWindowID id); + // a MSW only function which sends a size event to the window using its + // current size - this has an effect of refreshing the window layout + void SendSizeEvent(); + // implementation from now on // -------------------------- @@ -181,6 +185,7 @@ public: void OnSetFocus(wxFocusEvent& event); void OnEraseBackground(wxEraseEvent& event); void OnIdle(wxIdleEvent& event); + void OnPaint(wxPaintEvent& event); public: // For implementation purposes - sometimes decorations make the client area @@ -203,7 +208,7 @@ public: // Make a Windows extended style from the given wxWindows window style static WXDWORD MakeExtendedStyle(long style, - bool eliminateBorders = TRUE); + bool eliminateBorders = FALSE); // Determine whether 3D effects are wanted WXDWORD Determine3DEffects(WXDWORD defaultBorderStyle, bool *want3D) const;