X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71e57cd6506760f7ca0e3195a5ecf99d78a77be9..e3c55eb333d273693ed2aea23da909b33e9e5484:/include/wx/msw/choice.h diff --git a/include/wx/msw/choice.h b/include/wx/msw/choice.h index 2ee9390c57..5348fd5e26 100644 --- a/include/wx/msw/choice.h +++ b/include/wx/msw/choice.h @@ -83,9 +83,8 @@ public: // MSW only virtual bool MSWCommand(WXUINT param, WXWORD id); - long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); - virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor, - WXUINT message, WXWPARAM wParam, WXLPARAM lParam); + WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); + virtual WXHBRUSH MSWControlColor(WXHDC hDC); protected: virtual void DoMoveWindow(int x, int y, int width, int height); @@ -101,10 +100,9 @@ protected: int width, int height, int sizeFlags = wxSIZE_AUTO); - virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; + virtual bool MSWShouldPreProcessMessage(WXMSG *pMsg); - // get the real height of the control - int GetVisibleHeight() const; + virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; // update the height of the drop down list to fit the number of items we // have (without changing the visible height)