a hack to workaround missing wxBuffer in wxBase/Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -105,7 +105,11 @@ void ShowOptions(void);
|
|||||||
|
|
||||||
#ifdef NO_GUI
|
#ifdef NO_GUI
|
||||||
|
|
||||||
extern char *wxBuffer; // we must init it, otherwise tex2rtf will crash
|
#if wxUSE_GUI || !defined(__UNIX__)
|
||||||
|
// wxBase for Unix does not have wxBuffer
|
||||||
|
extern
|
||||||
|
#endif
|
||||||
|
char *wxBuffer; // we must init it, otherwise tex2rtf will crash
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user