#include </cygdrive/c/Users/Hamis/Cygwin-packaging/wxWidgets3.1/wxWidgets3.1-3.1.5-2.x86_64/src/wxWidgets-3.1.5/interface/wx/init.h>
Create an object of this class on the stack to initialize/cleanup the library automatically.
<>< =''>:</>&;&;< =''>\ </></>
Public Member Functions | |
wxInitializer (int argc=0, wxChar **argv=NULL) | |
Initializes the library. | |
bool | IsOk () const |
Has the initialization been successful? (explicit test) | |
~wxInitializer () | |
This dtor only does clean up if we initialized the library properly. | |
wxInitializer::wxInitializer | ( | int | argc = 0, |
wxChar ** | argv = NULL ) |
Initializes the library.
Calls wxInitialize().
wxInitializer::~wxInitializer | ( | ) |
This dtor only does clean up if we initialized the library properly.
Calls wxUninitialize().
bool wxInitializer::IsOk | ( | ) | const |
Has the initialization been successful? (explicit test)