Various changes for 16-bit compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-07-02 15:16:56 +00:00
parent ccd82cd130
commit 5260b1c582
12 changed files with 49 additions and 14 deletions

View File

@@ -63,6 +63,10 @@
#endif
#include <stdarg.h>
IMPLEMENT_DYNAMIC_CLASS(wxProcessEvent, wxEvent)
IMPLEMENT_DYNAMIC_CLASS(wxProcess, wxEvtHandler)
#define wxEXECUTE_WIN_MESSAGE 10000
struct wxExecuteData {
@@ -72,6 +76,8 @@ struct wxExecuteData {
char state;
};
#ifdef __WIN32__
static DWORD wxExecuteThread(wxExecuteData *data)
{
WaitForSingleObject(data->process, INFINITE);
@@ -81,6 +87,8 @@ static DWORD wxExecuteThread(wxExecuteData *data)
return 0;
}
#endif
LRESULT APIENTRY _EXPORT wxExecuteWindowCbk(HWND hWnd, UINT message,
WPARAM wParam, LPARAM lParam)