X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f02a879ed7efc5fcf6328ff47a1352ec82812b7..74fe973bba96bbc36abe8fda44ae23bebcd7a4cc:/include/wx/msw/control.h diff --git a/include/wx/msw/control.h b/include/wx/msw/control.h index e5b8dc9b9f..503d0db28c 100644 --- a/include/wx/msw/control.h +++ b/include/wx/msw/control.h @@ -59,8 +59,8 @@ public: virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result); // For ownerdraw items - virtual bool MSWOnDraw(WXDRAWITEMSTRUCT *WXUNUSED(item)) { return false; }; - virtual bool MSWOnMeasure(WXMEASUREITEMSTRUCT *WXUNUSED(item)) { return false; }; + virtual bool MSWOnDraw(WXDRAWITEMSTRUCT *WXUNUSED(item)) { return false; } + virtual bool MSWOnMeasure(WXMEASUREITEMSTRUCT *WXUNUSED(item)) { return false; } const wxArrayLong& GetSubcontrols() const { return m_subControls; } @@ -71,10 +71,10 @@ public: // default style for the control include WS_TABSTOP if it AcceptsFocus() virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; -protected: // choose the default border for this window virtual wxBorder GetDefaultBorder() const; +protected: // return default best size (doesn't really make any sense, override this) virtual wxSize DoGetBestSize() const;