fix for private access for wxTimerProc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -17,6 +17,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/object.h"
|
#include "wx/object.h"
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
|
|
||||||
class WXDLLEXPORT wxTimer : public wxObject
|
class WXDLLEXPORT wxTimer : public wxObject
|
||||||
{
|
{
|
||||||
@@ -43,6 +45,8 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
DECLARE_ABSTRACT_CLASS(wxTimer)
|
DECLARE_ABSTRACT_CLASS(wxTimer)
|
||||||
|
|
||||||
|
friend UINT WINAPI wxTimerProc(HWND WXUNUSED(hwnd), WORD, int idTimer, DWORD);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Timer functions (milliseconds)
|
// Timer functions (milliseconds)
|
||||||
|
@@ -41,8 +41,6 @@
|
|||||||
#define _EXPORT _export
|
#define _EXPORT _export
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <windows.h>
|
|
||||||
|
|
||||||
wxList wxTimerList(wxKEY_INTEGER);
|
wxList wxTimerList(wxKEY_INTEGER);
|
||||||
UINT WINAPI _EXPORT wxTimerProc(HWND hwnd, WORD, int idTimer, DWORD);
|
UINT WINAPI _EXPORT wxTimerProc(HWND hwnd, WORD, int idTimer, DWORD);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user