1///////////////////////////////////////////////////////////////////////////// 2// Name: test.h 3// Purpose: 4// Author: Jorgen Bodde 5// Modified by: 6// Created: 27/06/2004 7// RCS-ID: $Id: test.h 35650 2005-09-23 12:56:45Z MR $ 8// Copyright: (c) Jorgen Bodde 9// Licence: wxWindows licence 10///////////////////////////////////////////////////////////////////////////// 11 12#ifndef _TEST_H_ 13#define _TEST_H_ 14 15/*! 16 * Includes 17 */ 18 19////@begin includes 20////@end includes 21 22/*! 23 * Forward declarations 24 */ 25 26////@begin forward declarations 27class wxBoxSizer; 28////@end forward declarations 29 30/*! 31 * Control identifiers 32 */ 33 34////@begin control identifiers 35#define ID_DIALOG 10001 36#define SYMBOL_TESTTEST_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX 37#define SYMBOL_TESTTEST_TITLE _("Test Me") 38#define SYMBOL_TESTTEST_IDNAME ID_DIALOG 39#define SYMBOL_TESTTEST_SIZE wxSize(400, 200) 40#define SYMBOL_TESTTEST_POSITION wxDefaultPosition 41#define ID_PANEL7 10015 42#define ID_PANEL6 10014 43#define ID_PANEL3 10008 44#define ID_PANEL 10002 45#define ID_CHOICE 10003 46#define ID_RADIOBUTTON 10004 47#define ID_RADIOBUTTON1 10005 48#define ID_PANEL2 10007 49#define ID_PANEL4 10009 50#define ID_PANEL5 10010 51#define ID_CHOICE1 10011 52#define ID_RADIOBUTTON2 10012 53#define ID_RADIOBUTTON3 10013 54#define ID_PANEL1 10006 55////@end control identifiers 56 57/*! 58 * Compatibility 59 */ 60 61#ifndef wxCLOSE_BOX 62#define wxCLOSE_BOX 0x1000 63#endif 64#ifndef wxFIXED_MINSIZE 65#define wxFIXED_MINSIZE 0 66#endif 67 68/*! 69 * TestTest class declaration 70 */ 71 72class TestTest: public wxDialog 73{ 74 DECLARE_CLASS( TestTest ) 75 DECLARE_EVENT_TABLE() 76 77public: 78 /// Constructors 79 TestTest( ); 80 TestTest( wxWindow* parent, wxWindowID id = SYMBOL_TESTTEST_IDNAME, const wxString& caption = SYMBOL_TESTTEST_TITLE, const wxPoint& pos = SYMBOL_TESTTEST_POSITION, const wxSize& size = SYMBOL_TESTTEST_SIZE, long style = SYMBOL_TESTTEST_STYLE ); 81 82 /// Creation 83 bool Create( wxWindow* parent, wxWindowID id = SYMBOL_TESTTEST_IDNAME, const wxString& caption = SYMBOL_TESTTEST_TITLE, const wxPoint& pos = SYMBOL_TESTTEST_POSITION, const wxSize& size = SYMBOL_TESTTEST_SIZE, long style = SYMBOL_TESTTEST_STYLE ); 84 85 /// Creates the controls and sizers 86 void CreateControls(); 87 88////@begin TestTest event handler declarations 89 90////@end TestTest event handler declarations 91 92////@begin TestTest member function declarations 93 94 95 /// Retrieves bitmap resources 96 wxBitmap GetBitmapResource( const wxString& name ); 97 98 /// Retrieves icon resources 99 wxIcon GetIconResource( const wxString& name ); 100////@end TestTest member function declarations 101 102 /// Should we show tooltips? 103 static bool ShowToolTips(); 104 105////@begin TestTest member variables 106 wxBoxSizer* blaat; 107////@end TestTest member variables 108}; 109 110#endif 111 // _TEST_H_ 112