Added WXDLLEXPORT to wxWndProc definition so wxGLCanvas could be used

with wxWindows DLL


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 1999-10-29 22:18:20 +00:00
parent b32c6ff062
commit 3135f4a778
3 changed files with 10 additions and 10 deletions

View File

@ -127,7 +127,7 @@ HICON wxDEFAULT_MDIPARENTFRAME_ICON = (HICON) NULL;
HBRUSH wxDisableButtonBrush = (HBRUSH) 0; HBRUSH wxDisableButtonBrush = (HBRUSH) 0;
LRESULT APIENTRY wxWndProc(HWND, UINT, WPARAM, LPARAM); LRESULT WXDLLEXPORT APIENTRY wxWndProc(HWND, UINT, WPARAM, LPARAM);
#if defined(__WIN95__) && !defined(__TWIN32__) #if defined(__WIN95__) && !defined(__TWIN32__)
#define wxUSE_RICHEDIT 1 #define wxUSE_RICHEDIT 1

View File

@ -126,7 +126,7 @@ extern wxChar wxCanvasClassName[];
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
// the window proc for all our windows // the window proc for all our windows
LRESULT APIENTRY _EXPORT wxWndProc(HWND hWnd, UINT message, LRESULT WXDLLEXPORT APIENTRY _EXPORT wxWndProc(HWND hWnd, UINT message,
WPARAM wParam, LPARAM lParam); WPARAM wParam, LPARAM lParam);
#ifdef __WXDEBUG__ #ifdef __WXDEBUG__
@ -1709,7 +1709,7 @@ void wxWindow::UnpackMenuSelect(WXWPARAM wParam, WXLPARAM lParam,
wxWindow *wxWndHook = NULL; wxWindow *wxWndHook = NULL;
// Main window proc // Main window proc
LRESULT APIENTRY _EXPORT wxWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) LRESULT WXDLLEXPORT APIENTRY _EXPORT wxWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{ {
// trace all messages - useful for the debugging // trace all messages - useful for the debugging
#ifdef __WXDEBUG__ #ifdef __WXDEBUG__

View File

@ -29,7 +29,7 @@
wxChar wxGLCanvasClassName[] = wxT("wxGLCanvasClass"); wxChar wxGLCanvasClassName[] = wxT("wxGLCanvasClass");
LRESULT APIENTRY _EXPORT wxWndProc(HWND hWnd, UINT message, LRESULT WXDLLEXPORT APIENTRY _EXPORT wxWndProc(HWND hWnd, UINT message,
WPARAM wParam, LPARAM lParam); WPARAM wParam, LPARAM lParam);
/* /*