Corrected spin control, which ignored hand typed text.

Corrceted GetBestSize() etc of static text (displayed
    in tip dialog and elsewhere).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2000-01-03 11:42:49 +00:00
parent 312cd9e93d
commit 33720b2de5
8 changed files with 90 additions and 14 deletions

View File

@@ -39,7 +39,6 @@ extern const wxChar *wxStaticTextNameStr;
class wxStaticText : public wxControl
{
public:
wxStaticText();
wxStaticText(wxWindow *parent,
wxWindowID id,
@@ -60,10 +59,16 @@ public:
wxString GetLabel() const;
void SetLabel( const wxString &label );
bool SetFont( const wxFont &font );
// implementation
// --------------
void ApplyWidgetStyle();
protected:
virtual wxSize DoGetBestSize() const;
DECLARE_DYNAMIC_CLASS(wxStaticText)
};