X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/670c3849fdc5d3fa9b9586a973acfdbb26f80d95..ab8884aca6f480f3568167c7fe592a03e7e102b2:/include/wx/msw/stattext.h diff --git a/include/wx/msw/stattext.h b/include/wx/msw/stattext.h index 8dd0bcb76f..432987cf5e 100644 --- a/include/wx/msw/stattext.h +++ b/include/wx/msw/stattext.h @@ -5,12 +5,12 @@ // Modified by: // Created: 01/02/97 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem -// Licence: wxWindows license +// Copyright: (c) Julian Smart +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __STATTEXTH__ -#define __STATTEXTH__ +#ifndef _WX_STATTEXT_H_ +#define _WX_STATTEXT_H_ #ifdef __GNUG__ #pragma interface "stattext.h" @@ -45,6 +45,9 @@ class WXDLLEXPORT wxStaticText: public wxControl // accessors void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); + void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) + { wxWindow::SetSize(rect, sizeFlags); } + void SetSize(const wxSize& size) { wxWindow::SetSize(size); } void SetLabel(const wxString&); // operations @@ -61,4 +64,4 @@ class WXDLLEXPORT wxStaticText: public wxControl }; #endif - // __STATTEXTH__ + // _WX_STATTEXT_H_