init m_background_pm
fluxgen fluxgen
1 files changed,
3 insertions(+),
1 deletions(-)
jump to
M
src/FbTk/Button.cc
→
src/FbTk/Button.cc
@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Button.cc,v 1.6 2003/04/28 22:21:56 fluxgen Exp $ +// $Id: Button.cc,v 1.7 2003/05/07 11:35:22 fluxgen Exp $ #include "Button.hh"@@ -34,6 +34,7 @@ unsigned int width, unsigned int height):
m_win(screen_num, x, y, width, height, ExposureMask | ButtonPressMask | ButtonReleaseMask), m_foreground_pm(0), + m_background_pm(0), m_pressed_pm(0), m_gc(DefaultGC(FbTk::App::instance()->display(), screen_num)), m_pressed(false) {@@ -47,6 +48,7 @@ unsigned int width, unsigned int height):
m_win(parent, x, y, width, height, ExposureMask | ButtonPressMask | ButtonReleaseMask), m_foreground_pm(0), + m_background_pm(0), m_pressed_pm(0), m_gc(DefaultGC(FbTk::App::instance()->display(), m_win.screenNumber())), m_pressed(false) {