From 447486fd8be3900ceb6ee28bf9c8faf1a7b57a47 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Wed, 13 Aug 2003 10:03:45 +0000 Subject: Button changed to a FbWindow --- src/IconButton.cc | 4 ++-- 1 file 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 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: IconButton.cc,v 1.3 2003/08/12 01:19:22 fluxgen Exp $ +// $Id: IconButton.cc,v 1.4 2003/08/13 10:03:45 fluxgen Exp $ #include "IconButton.hh" @@ -45,7 +45,7 @@ IconButton::IconButton(const FbTk::FbWindow &parent, const FbTk::Font &font, FluxboxWindow &win): TextButton(parent, font, win.winClient().title()), m_win(win), - m_icon_window(window(), 1, 1, 1, 1, + m_icon_window(*this, 1, 1, 1, 1, ExposureMask | ButtonPressMask | ButtonReleaseMask) { FbTk::RefCount focus(new FbTk::SimpleCommand(m_win, &FluxboxWindow::raiseAndFocus)); -- cgit v0.11.2