initialize gs_pFrame to NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -164,7 +164,7 @@ static int OpenLogFile(wxFile& file, wxString *filename = NULL);
|
|||||||
|
|
||||||
// we use a global variable to store the frame pointer for wxLogStatus - bad,
|
// we use a global variable to store the frame pointer for wxLogStatus - bad,
|
||||||
// but it's the easiest way
|
// but it's the easiest way
|
||||||
static wxFrame *gs_pFrame; // FIXME MT-unsafe
|
static wxFrame *gs_pFrame = NULL; // FIXME MT-unsafe
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
// implementation
|
// implementation
|
||||||
|
Reference in New Issue
Block a user