#endif
// Define a new application type
-class MyApp: public
+class MyApp: public
#ifndef NO_GUI
wxApp
#else
void OnModeWinHelp(wxCommandEvent& event);
void OnModeHTML(wxCommandEvent& event);
void OnModeXLP(wxCommandEvent& event);
- void OnOptionsCurleyBrace(wxCommandEvent& event);
+ void OnOptionsCurlyBrace(wxCommandEvent& event);
void OnOptionsSyntaxChecking(wxCommandEvent& event);
void OnHelp(wxCommandEvent& event);
void OnAbout(wxCommandEvent& event);
{
public:
Tex2RTFConnection(wxChar *buf, int size);
- ~Tex2RTFConnection(void);
+ ~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);
};
};
// ID for the menu quit command
-#define TEX_QUIT 1
+#define TEX_QUIT wxID_EXIT
#define TEX_GO 2
#define TEX_SET_INPUT 3
#define TEX_MODE_HTML 11
#define TEX_MODE_XLP 12
-#define TEX_OPTIONS_CURLEY_BRACE 13
+#define TEX_OPTIONS_CURLY_BRACE 13
#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;
extern FILE *Subsections;
extern FILE *Subsubsections;
-extern wxChar *InputFile;
-extern wxChar *OutputFile;
+extern wxString InputFile;
+extern wxString OutputFile;
extern wxChar *MacroFile;
extern wxChar *FileRoot;