Use the usual WXHWND instead of wxWidget.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bryan Petty
2014-09-10 14:57:50 +00:00
parent 163a78c76c
commit 49ed30caae
5 changed files with 10 additions and 12 deletions

View File

@@ -22,7 +22,7 @@ class WXDLLIMPEXP_FWD_CORE wxITaskbarList3;
class WXDLLIMPEXP_CORE wxTaskBarButtonImpl : public wxTaskBarButton
{
public:
wxTaskBarButtonImpl(WXWidget parent);
wxTaskBarButtonImpl(wxWindow* parent);
virtual ~wxTaskBarButtonImpl();
virtual void SetProgressRange(int range) wxOVERRIDE;
@@ -47,7 +47,7 @@ public:
bool InitOrUpdateThumbBarButtons();
private:
WXWidget m_hwnd;
WXHWND m_hwnd;
wxITaskbarList3 *m_taskbarList;
typedef wxVector<wxThumbBarButton*> wxThumbBarButtons;

View File

@@ -134,7 +134,7 @@ private:
class WXDLLIMPEXP_CORE wxAppProgressIndicator
{
public:
wxAppProgressIndicator(WXWidget parent, int maxValue);
wxAppProgressIndicator(wxWindow* parent = NULL, int maxValue = 100);
virtual ~wxAppProgressIndicator();
void SetValue(int value);
void SetRange(int range);
@@ -142,7 +142,6 @@ public:
void Reset();
private:
WXWidget m_parent;
int m_maxValue;
wxTaskBarButton* m_taskBarButton;