X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc0bffacebe299b312ce7fdf49a8825f466cf73f..d44d0cbd7343e36ddd3657dd97cd5eb7018d2585:/include/wx/msw/button.h diff --git a/include/wx/msw/button.h b/include/wx/msw/button.h index bb844575e3..2728b70739 100644 --- a/include/wx/msw/button.h +++ b/include/wx/msw/button.h @@ -26,7 +26,7 @@ public: wxButton() { } wxButton(wxWindow *parent, wxWindowID id, - const wxString& label, + const wxString& label = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, @@ -38,7 +38,7 @@ public: bool Create(wxWindow *parent, wxWindowID id, - const wxString& label, + const wxString& label = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, @@ -59,7 +59,7 @@ public: // avoide switching into owner-drawn mode wxControl::SetBackgroundColour(bg); } - + #ifdef __WIN32__ // coloured buttons support virtual bool SetBackgroundColour(const wxColour &colour); @@ -72,7 +72,7 @@ private: #endif // __WIN32__ protected: - // send a notification event, return TRUE if processed + // send a notification event, return true if processed bool SendClickEvent(); // default button handling