1. wxBase compiles/links again

2. wxString::reserve() (STLese for Alloc()) added
3. compilation fixes for mingw32/BC++


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-11-26 11:37:42 +00:00
parent 10a0bdb193
commit 252a752e85
3 changed files with 31 additions and 3 deletions

View File

@@ -302,8 +302,6 @@ WXDLLEXPORT_DATA(extern wxApp*) wxTheApp;
// event loop related functions only work in GUI programs
// ------------------------------------------------------
#if wxUSE_GUI
// Force an exit from main loop
extern void WXDLLEXPORT wxExit();
@@ -313,6 +311,8 @@ extern bool WXDLLEXPORT wxYield();
// Yield to other apps/messages
extern void WXDLLEXPORT wxWakeUpIdle();
#if wxUSE_GUI
// Post a message to the given eventhandler which will be processed during the
// next event loop iteration
inline void WXDLLEXPORT wxPostEvent(wxEvtHandler *dest, wxEvent& event)
@@ -322,7 +322,7 @@ inline void WXDLLEXPORT wxPostEvent(wxEvtHandler *dest, wxEvent& event)
dest->AddPendingEvent(event);
}
#endif // wxUSE_GUI
#endif // wxUSE_GUI/!wxUSE_GUI
// console applications may avoid using DECLARE_APP and IMPLEMENT_APP macros
// and call these functions instead at the program startup and termination