X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1b327e1f98b997a36866f96efe3768302eb4e88..99045723c52c1fc6138661b8aa6d0ae352ef0c0e:/utils/emulator/src/emulator.h diff --git a/utils/emulator/src/emulator.h b/utils/emulator/src/emulator.h index 5cde3128f4..5e14259c65 100644 --- a/utils/emulator/src/emulator.h +++ b/utils/emulator/src/emulator.h @@ -96,6 +96,7 @@ public: wxEmulatorContainer* m_containerWindow; wxString m_appDir; wxString m_displayNumber; + long m_xnestPID; }; // The container for the Xnest window. The decorations @@ -124,9 +125,10 @@ public: // 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 @@ -150,7 +152,7 @@ enum }; // 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);