summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/IconButton.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/IconButton.cc b/src/IconButton.cc
index d7bfd35..d455880 100644
--- a/src/IconButton.cc
+++ b/src/IconButton.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: IconButton.cc,v 1.3 2003/08/12 01:19:22 fluxgen Exp $ 23// $Id: IconButton.cc,v 1.4 2003/08/13 10:03:45 fluxgen Exp $
24 24
25#include "IconButton.hh" 25#include "IconButton.hh"
26 26
@@ -45,7 +45,7 @@ IconButton::IconButton(const FbTk::FbWindow &parent, const FbTk::Font &font,
45 FluxboxWindow &win): 45 FluxboxWindow &win):
46 TextButton(parent, font, win.winClient().title()), 46 TextButton(parent, font, win.winClient().title()),
47 m_win(win), 47 m_win(win),
48 m_icon_window(window(), 1, 1, 1, 1, 48 m_icon_window(*this, 1, 1, 1, 1,
49 ExposureMask | ButtonPressMask | ButtonReleaseMask) { 49 ExposureMask | ButtonPressMask | ButtonReleaseMask) {
50 50
51 FbTk::RefCount<FbTk::Command> focus(new FbTk::SimpleCommand<FluxboxWindow>(m_win, &FluxboxWindow::raiseAndFocus)); 51 FbTk::RefCount<FbTk::Command> focus(new FbTk::SimpleCommand<FluxboxWindow>(m_win, &FluxboxWindow::raiseAndFocus));