wxEmulatorContainer* m_containerWindow;
wxString m_appDir;
wxString m_displayNumber;
+ long m_xnestPID;
};
// The container for the Xnest window. The decorations
// ctor(s)
wxEmulatorFrame(const wxString& title, const wxPoint& pos, const wxSize& size);
- // event handlers (these functions should _not_ be virtual)
+ // event handlers
void OnQuit(wxCommandEvent& event);
void OnAbout(wxCommandEvent& event);
+ void OnCloseWindow(wxCloseEvent& event);
private:
// any class wishing to process wxWindows events must use this macro
};
// Returns the image type, or -1, determined from the extension.
-int wxDetermineImageType(const wxString& filename);
+wxBitmapType wxDetermineImageType(const wxString& filename);
// Convert a colour to a 6-digit hex string
wxString wxColourToHexString(const wxColour& col);