Don't override Refresh() in wxStatusBar under wxQt
This is not necessary and, more importantly, results in a crash if you try to recreate the status bar (which can be seen in the statbar example) Also remove leftover QList declaration
This commit is contained in:
parent
e9dd395215
commit
d3bdf486b3
2 changed files with 0 additions and 12 deletions
|
|
@ -13,8 +13,6 @@
|
|||
class QLabel;
|
||||
class QStatusBar;
|
||||
|
||||
template < class T > class QList;
|
||||
|
||||
class WXDLLIMPEXP_CORE wxStatusBar : public wxStatusBarBase
|
||||
{
|
||||
public:
|
||||
|
|
@ -31,8 +29,6 @@ public:
|
|||
virtual void SetMinHeight(int height) override;
|
||||
virtual int GetBorderX() const override;
|
||||
virtual int GetBorderY() const override;
|
||||
virtual void Refresh( bool eraseBackground = true,
|
||||
const wxRect *rect = nullptr ) override;
|
||||
|
||||
QStatusBar *GetQStatusBar() const { return m_qtStatusBar; }
|
||||
QWidget *GetHandle() const override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue