]> git.saurik.com Git - wxWidgets.git/blob - demos/forty/forty.h
don't do anything in SetBackgroundColour() if colour is invalid
[wxWidgets.git] / demos / forty / forty.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: forty.h
3 // Purpose: Forty Thieves patience game
4 // Author: Chris Breeze
5 // Modified by:
6 // Created: 21/07/97
7 // RCS-ID: $Id$
8 // Copyright: (c) 1993-1998 Chris Breeze
9 // Licence: wxWindows licence
10 //---------------------------------------------------------------------------
11 // Last modified: 22nd July 1998 - ported to wxWindows 2.0
12 /////////////////////////////////////////////////////////////////////////////
13 #ifndef _FORTY_H_
14 #define _FORTY_H_
15
16 class FortyApp: public wxApp
17 {
18 public:
19 bool OnInit();
20
21 static const wxColour& BackgroundColour();
22 static const wxColour& TextColour();
23 static const wxBrush& BackgroundBrush();
24
25 private:
26 static wxColour* m_backgroundColour;
27 static wxColour* m_textColour;
28 static wxBrush* m_backgroundBrush;
29 };
30
31 #endif