summaryrefslogtreecommitdiff
path: root/ui/taskbar.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:26:50 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:26:50 +0200
commit669df123648aaa6aeccc70206b5417bc48b4e9ae (patch)
tree463c107a8d6405020bb304f7a7253e6b64afeee0 /ui/taskbar.cpp
parent5.18 (diff)
downloadFreeFileSync-669df123648aaa6aeccc70206b5417bc48b4e9ae.tar.gz
FreeFileSync-669df123648aaa6aeccc70206b5417bc48b4e9ae.tar.bz2
FreeFileSync-669df123648aaa6aeccc70206b5417bc48b4e9ae.zip
5.19
Diffstat (limited to 'ui/taskbar.cpp')
-rw-r--r--ui/taskbar.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/taskbar.cpp b/ui/taskbar.cpp
index 0e019d04..e6aadc90 100644
--- a/ui/taskbar.cpp
+++ b/ui/taskbar.cpp
@@ -30,7 +30,7 @@ using namespace tbseven;
class Taskbar::Pimpl //throw TaskbarNotAvailable
{
public:
- Pimpl(const wxTopLevelWindow& window) :
+ Pimpl(const wxFrame& window) :
assocWindow(window.GetHWND()),
setStatus_ (getDllName(), funName_setStatus),
setProgress_(getDllName(), funName_setProgress)
@@ -86,7 +86,7 @@ const char FFS_DESKTOP_FILE[] = "freefilesync.desktop";
class Taskbar::Pimpl //throw (TaskbarNotAvailable)
{
public:
- Pimpl(const wxTopLevelWindow& window) :
+ Pimpl(const wxFrame& window) :
tbEntry(unity_launcher_entry_get_for_desktop_id(FFS_DESKTOP_FILE))
//tbEntry(unity_launcher_entry_get_for_app_uri("application://freefilesync.desktop"))
{
@@ -133,7 +133,7 @@ private:
class Taskbar::Pimpl
{
public:
- Pimpl(const wxTopLevelWindow& window) {}
+ Pimpl(const wxFrame& window) {}
~Pimpl() { setDockText(""); }
@@ -161,7 +161,7 @@ private:
class Taskbar::Pimpl
{
public:
- Pimpl(const wxTopLevelWindow& window) { throw TaskbarNotAvailable(); }
+ Pimpl(const wxFrame& window) { throw TaskbarNotAvailable(); }
void setStatus(Status status) {}
void setProgress(double fraction) {}
};
@@ -169,7 +169,7 @@ public:
//########################################################################################################
-Taskbar::Taskbar(const wxTopLevelWindow& window) : pimpl_(new Pimpl(window)) {} //throw TaskbarNotAvailable
+Taskbar::Taskbar(const wxFrame& window) : pimpl_(new Pimpl(window)) {} //throw TaskbarNotAvailable
Taskbar::~Taskbar() {}
void Taskbar::setStatus(Status status) { pimpl_->setStatus(status); }
bgstack15