Initialize wxAuiNotebookXmlHandler::m_isInside in ctor

See #15694.

Closes #17222.

(this is a backport of 7439c0951b from master)
This commit is contained in:
Vadim Zeitlin
2015-10-24 15:16:05 +02:00
parent d3a5963258
commit 034684d476
2 changed files with 3 additions and 1 deletions

View File

@@ -604,6 +604,7 @@ All (GUI):
- Fix bug in wxImage::ClearAlpha() for shared data (Markus Rollmann). - Fix bug in wxImage::ClearAlpha() for shared data (Markus Rollmann).
- Accept wxALIGN_CENTRE_HORIZONTAL in wxStaticText XRC handler (David Hart). - Accept wxALIGN_CENTRE_HORIZONTAL in wxStaticText XRC handler (David Hart).
- Fix appearance after updating a wxGrid with hidden rows/columns (iwbnwif). - Fix appearance after updating a wxGrid with hidden rows/columns (iwbnwif).
- Make wxAuiNotebookXmlHandler actually work.
wxGTK: wxGTK:

View File

@@ -22,7 +22,8 @@
wxIMPLEMENT_DYNAMIC_CLASS(wxAuiNotebookXmlHandler, wxXmlResourceHandler); wxIMPLEMENT_DYNAMIC_CLASS(wxAuiNotebookXmlHandler, wxXmlResourceHandler);
wxAuiNotebookXmlHandler::wxAuiNotebookXmlHandler() wxAuiNotebookXmlHandler::wxAuiNotebookXmlHandler()
: wxXmlResourceHandler() : wxXmlResourceHandler(),
m_isInside(false)
{ {
XRC_ADD_STYLE(wxAUI_NB_DEFAULT_STYLE); XRC_ADD_STYLE(wxAUI_NB_DEFAULT_STYLE);
XRC_ADD_STYLE(wxAUI_NB_TAB_SPLIT); XRC_ADD_STYLE(wxAUI_NB_TAB_SPLIT);