Version: 2.9.4
Public Member Functions
wxInitializer Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/init.h>


Detailed Description

Create an object of this class on the stack to initialize/cleanup the library automatically.

Library:  wxBase
Category:  Application and Process Management
参照:
wxGLContext

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.

List of all members.


Constructor & Destructor Documentation

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().


Member Function Documentation

bool wxInitializer::IsOk ( ) const

Has the initialization been successful? (explicit test)

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines