X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/debe6624c1e9d4bf3243381153d1e173c849bcd8..da468d387db3b7e22b008bf08be2ff6b202508fb:/include/wx/msw/stattext.h diff --git a/include/wx/msw/stattext.h b/include/wx/msw/stattext.h index 8d4ad7ab6c..8dd0bcb76f 100644 --- a/include/wx/msw/stattext.h +++ b/include/wx/msw/stattext.h @@ -43,16 +43,20 @@ class WXDLLEXPORT wxStaticText: public wxControl long style = 0, const wxString& name = wxStaticTextNameStr); + // accessors + void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); + void SetLabel(const wxString&); + + // operations virtual void Command(wxCommandEvent& WXUNUSED(event)) {}; virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {}; - void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); - - void SetLabel(const wxString&); + // overriden base class virtuals + virtual bool AcceptsFocus() const { return FALSE; } + // callbacks virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor, - WXUINT message, WXWPARAM wParam, WXLPARAM lParam); - + WXUINT message, WXWPARAM wParam, WXLPARAM lParam); virtual long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); };