#include <BlockScopeWxApp.h>
Public Member Functions | |
| BlockScopeWxApp () | |
| ~BlockScopeWxApp () | |
Private Attributes | |
| bool | mNeedToUninitialize |
Definition at line 5 of file BlockScopeWxApp.h.
| BlockScopeWxApp::BlockScopeWxApp | ( | ) |
Definition at line 27 of file BlockScopeWxApp.cpp.
References mNeedToUninitialize.
{
mNeedToUninitialize = false;
if (wxApp::GetInstance()==0)
{
wxApp::SetInstance(new DummyWxApp);
wxInitialize();
mNeedToUninitialize = true;
}
}
| BlockScopeWxApp::~BlockScopeWxApp | ( | ) |
Definition at line 38 of file BlockScopeWxApp.cpp.
References mNeedToUninitialize.
{
if (mNeedToUninitialize) wxUninitialize();
}
bool BlockScopeWxApp::mNeedToUninitialize [private] |
Definition at line 11 of file BlockScopeWxApp.h.
Referenced by BlockScopeWxApp(), and ~BlockScopeWxApp().
1.7.1