Initialise m_qtPushButton in wxAnyButton's constructor.
This commit is contained in:
@@ -18,9 +18,7 @@ class QPushButton;
|
||||
class WXDLLIMPEXP_CORE wxAnyButton : public wxAnyButtonBase
|
||||
{
|
||||
public:
|
||||
wxAnyButton()
|
||||
{
|
||||
}
|
||||
wxAnyButton();
|
||||
|
||||
// implementation
|
||||
// --------------
|
||||
|
@@ -46,6 +46,12 @@ void wxQtPushButton::clicked( bool WXUNUSED(checked) )
|
||||
}
|
||||
}
|
||||
|
||||
wxAnyButton::wxAnyButton() :
|
||||
m_qtPushButton(NULL)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void wxAnyButton::QtCreate(wxWindow *parent)
|
||||
{
|
||||
// create the default push button (used in button and bmp button)
|
||||
|
Reference in New Issue
Block a user