From a3d036f60ed2333622ee9b61dbddcdc8fbc497c3 Mon Sep 17 00:00:00 2001 From: Marius Nita Date: Sat, 16 Nov 2002 02:15:49 +0000 Subject: added otkapplication and event stuff, changed other files to accomodate for this, changed the test. no idea if anything runs yet. it compiles =) --- otk/button.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'otk/button.cc') diff --git a/otk/button.cc b/otk/button.cc index e93762ec..fd40f7d5 100644 --- a/otk/button.cc +++ b/otk/button.cc @@ -66,17 +66,17 @@ void OtkButton::update(void) _dirty = false; } -bool OtkButton::expose(const XExposeEvent &e) +int OtkButton::exposeHandler(const XExposeEvent &e) { _dirty = true; - return OtkFocusWidget::expose(e); + return OtkFocusWidget::exposeHandler(e); } -bool OtkButton::configure(const XConfigureEvent &e) +int OtkButton::configureHandler(const XConfigureEvent &e) { if (!(e.width == width() && e.height == height())) _dirty = true; - return OtkFocusWidget::configure(e); + return OtkFocusWidget::configureHandler(e); } } -- cgit v1.2.3