update to make digitalmars link - I really don't like the extern C declarations

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2003-04-19 19:25:28 +00:00
parent 4ce1efe123
commit cc972ac67e
3 changed files with 24 additions and 1 deletions

View File

@@ -170,15 +170,25 @@ static bool gs_hasStdCmap = FALSE;
// ---------------------------------------------------------------------------
// the window proc for all our windows
#ifdef __DIGITALMARS__
extern "C" LRESULT WXDLLEXPORT APIENTRY _EXPORT wxWndProc(HWND hWnd, UINT message,
WPARAM wParam, LPARAM lParam);
#else
LRESULT WXDLLEXPORT APIENTRY _EXPORT wxWndProc(HWND hWnd, UINT message,
WPARAM wParam, LPARAM lParam);
#endif
#ifdef __WXDEBUG__
const char *wxGetMessageName(int message);
#endif //__WXDEBUG__
void wxRemoveHandleAssociation(wxWindowMSW *win);
void wxAssociateWinWithHandle(HWND hWnd, wxWindowMSW *win);
#ifdef __DIGITALMARS__
extern "C" void wxAssociateWinWithHandle(HWND hWnd, wxWindowMSW *win);
#else
extern void wxAssociateWinWithHandle(HWND hWnd, wxWindowMSW *win);
#endif
wxWindow *wxFindWinFromHandle(WXHWND hWnd);
// this magical function is used to translate VK_APPS key presses to right
@@ -3310,6 +3320,7 @@ bool wxWindowMSW::HandleDestroy()
// delete our drop target if we've got one
#if wxUSE_DRAG_AND_DROP
if ( m_dropTarget != NULL )
{
m_dropTarget->Revoke(m_hWnd);
@@ -3471,6 +3482,10 @@ bool wxWindowMSW::HandleDropFiles(WXWPARAM wParam)
#endif
}
#ifdef __DIGITALMARS__
extern "C" HCURSOR wxGetCurrentBusyCursor();
#endif
bool wxWindowMSW::HandleSetCursor(WXHWND WXUNUSED(hWnd),
short nHitTest,
int WXUNUSED(mouseMsg))