windows startup tweaks

svn: r286
This commit is contained in:
Matthew Flatt 2005-06-30 21:33:11 +00:00
parent 051db368f1
commit d8ea16eb03
5 changed files with 3 additions and 6 deletions

View File

@ -3799,7 +3799,6 @@ static void wxDo(Scheme_Object *proc, int argc, Scheme_Object **argv)
scheme_end_atomic_no_swap();
}
#if defined(wx_mac) || defined(wx_msw)
void wxDrop_Runtime(char **argv, int argc)
{
int i;
@ -3809,7 +3808,6 @@ void wxDrop_Runtime(char **argv, int argc)
wxDo(wxs_app_file_proc, 1, p);
}
}
#endif
void wxDrop_Quit()
{

View File

@ -709,7 +709,7 @@ void wx_end_win_event(const char *who, HWND hWnd, UINT message, int tramp)
scheme_end_atomic_no_swap();
if (!tramp && ((message == WM_VSCROLL) || (message == WM_HSCROLL))) {
if (!tramp && ((message == WM_VSCROLL) || (message == WM_HSCROLL)) && scheme_current_thread) {
HiEventTramp *het;
Scheme_Object *v;

View File

@ -603,7 +603,6 @@ static char *CreateUniqueName()
return together;
}
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR ignored, int nCmdShow)
{
LPWSTR m_lpCmdLine;

View File

@ -3245,8 +3245,6 @@ Bool wxMediaEdit::InsertFile(const char *who, Scheme_Object *f, char *WXUNUSED(f
Insert(1, "\r");
}
fileerr = fileerr;
if (fileerr && showErrors) {
char ebuf[256];
sprintf(ebuf, "%s: error loading the file", who);

View File

@ -44,6 +44,8 @@ HICON wxSTD_FRAME_ICON = NULL;
HFONT wxSTATUS_LINE_FONT = NULL;
LRESULT APIENTRY wxWndProc(HWND, UINT, WPARAM, LPARAM);
__declspec(dllexport) void (*wx_post_setup)(void) = NULL;
static void RegisterNoCursor(HINSTANCE hInstance,
char *src, char *dest, wchar_t *wsrc, wchar_t *wdest)
{