]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/choice.h
split wxRegion(wxBitmap) ctor into two ctors with clearer semantics
[wxWidgets.git] / include / wx / msw / choice.h
index d02f98dcd81646447675a2f15cf98d05dfe93f6a..15b1bb818e4808536873e2b32ae4f05ffb34b2f7 100644 (file)
@@ -83,7 +83,7 @@ public:
 
     // MSW only
     virtual bool MSWCommand(WXUINT param, WXWORD id);
-    long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
+    WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
     virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor,
             WXUINT message, WXWPARAM wParam, WXLPARAM lParam);
 
@@ -101,6 +101,8 @@ protected:
                            int width, int height,
                            int sizeFlags = wxSIZE_AUTO);
 
+    virtual bool MSWShouldPreProcessMessage(WXMSG *pMsg);
+
     virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
 
     // update the height of the drop down list to fit the number of items we