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