add wxGenericStaticText (#9656)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -71,11 +71,6 @@ public:
|
||||
|
||||
// wxUniversal-specific methods
|
||||
|
||||
// return the accel index in the string or -1 if none and puts the modified
|
||||
// string into second parameter if non NULL
|
||||
static int FindAccelIndex(const wxString& label,
|
||||
wxString *labelOnly = NULL);
|
||||
|
||||
// return the index of the accel char in the label or -1 if none
|
||||
int GetAccelIndex() const { return m_indexAccel; }
|
||||
|
||||
|
@@ -12,7 +12,9 @@
|
||||
#ifndef _WX_UNIV_STATTEXT_H_
|
||||
#define _WX_UNIV_STATTEXT_H_
|
||||
|
||||
class WXDLLIMPEXP_CORE wxStaticText : public wxStaticTextBase
|
||||
#include "wx/generic/stattextg.h"
|
||||
|
||||
class WXDLLIMPEXP_CORE wxStaticText : public wxGenericStaticText
|
||||
{
|
||||
public:
|
||||
wxStaticText() { }
|
||||
@@ -54,9 +56,6 @@ public:
|
||||
virtual bool IsFocused() const { return false; }
|
||||
|
||||
protected:
|
||||
// calculate the optimal size for the label
|
||||
virtual wxSize DoGetBestClientSize() const;
|
||||
|
||||
// draw the control
|
||||
virtual void DoDraw(wxControlRenderer *renderer);
|
||||
|
||||
|
Reference in New Issue
Block a user