class mrpt::gui::WxSubsystem::CWXMainFrame¶
The main frame of the wxWidgets application.
#include <mrpt/gui/WxSubsystem.h> class CWXMainFrame: public wxFrame { public: // fields static CWXMainFrame* oneInstance = nullptr; // construction CWXMainFrame( wxWindow* parent, wxWindowID id = -1 ); // methods static int notifyWindowCreation(); static int notifyWindowDestruction(); };
Methods¶
static int notifyWindowCreation()
Atomically increments the number of windows created with the main frame as parent.
Returns:
The updated number of windows.
static int notifyWindowDestruction()
Atomically decrements the number of windows created with the main frame as parent.
Returns:
The updated number of windows (0 if the calling was the last one).