X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88fd7006f473d24685c36974315f6ff6e6f6d727..a989a329db4ca53a51f9c766508b62cf43ca95eb:/utils/tex2rtf/src/tex2rtf.h?ds=sidebyside diff --git a/utils/tex2rtf/src/tex2rtf.h b/utils/tex2rtf/src/tex2rtf.h index af45002190..1ed4e198e2 100644 --- a/utils/tex2rtf/src/tex2rtf.h +++ b/utils/tex2rtf/src/tex2rtf.h @@ -44,7 +44,6 @@ class MyFrame: public wxFrame { public: wxTextCtrl *textWindow; MyFrame(wxFrame *frame, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size); - void OnMenuCommand(int id); void OnCloseWindow(wxCloseEvent& event); void OnExit(wxCommandEvent& event); @@ -74,7 +73,7 @@ class Tex2RTFConnection: public wxDDEConnection { public: Tex2RTFConnection(wxChar *buf, int size); - ~Tex2RTFConnection(void){}; + virtual ~Tex2RTFConnection(void){} bool OnExecute(const wxString& topic, wxChar *data, int size, wxIPCFormat format); wxChar *OnRequest(const wxString& topic, const wxString& item, int *size, wxIPCFormat format); }; @@ -114,7 +113,7 @@ class ItemizeStruc: public wxObject }; // ID for the menu quit command -#define TEX_QUIT 1 +#define TEX_QUIT wxID_EXIT #define TEX_GO 2 #define TEX_SET_INPUT 3 @@ -135,7 +134,7 @@ class ItemizeStruc: public wxObject #define TEX_OPTIONS_SYNTAX_CHECKING 14 #define TEX_HELP 15 -#define TEX_ABOUT 16 +#define TEX_ABOUT wxID_ABOUT #define TEX_SAVE_FILE 17 extern TexChunk *currentMember; @@ -150,8 +149,8 @@ extern FILE *Sections; extern FILE *Subsections; extern FILE *Subsubsections; -extern wxChar *InputFile; -extern wxChar *OutputFile; +extern wxString InputFile; +extern wxString OutputFile; extern wxChar *MacroFile; extern wxChar *FileRoot;