X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63da7df70114ff2c535d6cdeec5d0aca83ce97f3..bedaf53eaf4e2a860b34d4ff5e0b1928ce8fa5c9:/include/wx/msw/window.h diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index f440f5652a..538051007b 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -87,7 +87,7 @@ public: virtual void SetFocus(); - virtual bool Reparent( wxWindow *newParent ); + virtual bool Reparent( wxWindowBase *newParent ); virtual void WarpPointer(int x, int y); virtual void CaptureMouse(); @@ -163,7 +163,10 @@ public: // 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 +/* +FUNCTION IS NOW A MEMBER OF wxFrame - gt void SendSizeEvent(); +*/ // implementation from now on // -------------------------- @@ -208,7 +211,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; @@ -259,7 +262,7 @@ public: WXWORD *item, WXWORD *flags, WXHMENU *hmenu); // ------------------------------------------------------------------------ - // internal handlers for MSW messages: all handlers return a boolen value: + // internal handlers for MSW messages: all handlers return a boolean value: // TRUE means that the handler processed the event and FALSE that it didn't // ------------------------------------------------------------------------ @@ -324,10 +327,11 @@ public: bool HandleMouseEvent(WXUINT msg, int x, int y, WXUINT flags); bool HandleMouseMove(int x, int y, WXUINT flags); + bool HandleMouseWheel(WXWPARAM wParam, WXLPARAM lParam); - bool HandleChar(WXWORD wParam, WXLPARAM lParam, bool isASCII = FALSE); - bool HandleKeyDown(WXWORD wParam, WXLPARAM lParam); - bool HandleKeyUp(WXWORD wParam, WXLPARAM lParam); + bool HandleChar(WXWPARAM wParam, WXLPARAM lParam, bool isASCII = FALSE); + bool HandleKeyDown(WXWPARAM wParam, WXLPARAM lParam); + bool HandleKeyUp(WXWPARAM wParam, WXLPARAM lParam); bool HandleQueryDragIcon(WXHICON *hIcon);