wxWidgets/contrib/samples/foldbar/foldpanelbar/layouttest.h
Vadim Zeitlin 957f5ab77a added foldbar contrib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 11:18:36 +00:00

102 lines
2.5 KiB
C++

/////////////////////////////////////////////////////////////////////////////
// Name: layouttest.h
// Purpose:
// Author: Jorgen Bodde
// Modified by:
// Created: 06/25/04 19:48:57
// RCS-ID:
// Copyright:
// Licence:
/////////////////////////////////////////////////////////////////////////////
#ifndef _LAYOUTTEST_H_
#define _LAYOUTTEST_H_
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "layouttest.cpp"
#endif
/*!
* Includes
*/
////@begin includes
////@end includes
/*!
* Forward declarations
*/
////@begin forward declarations
////@end forward declarations
/*!
* Control identifiers
*/
////@begin control identifiers
#define ID_DIALOG 10001
#define SYMBOL_LAYOUTTEST_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
#define SYMBOL_LAYOUTTEST_TITLE _("Layout Test")
#define SYMBOL_LAYOUTTEST_IDNAME ID_DIALOG
#define SYMBOL_LAYOUTTEST_SIZE wxSize(400, 300)
#define SYMBOL_LAYOUTTEST_POSITION wxDefaultPosition
#define ID_PANEL1 10006
#define ID_BUTTON 10007
////@end control identifiers
/*!
* Compatibility
*/
#ifndef wxCLOSE_BOX
#define wxCLOSE_BOX 0x1000
#endif
#ifndef wxFIXED_MINSIZE
#define wxFIXED_MINSIZE 0
#endif
/*!
* LayoutTest class declaration
*/
class LayoutTest: public wxPanel
{
DECLARE_CLASS( LayoutTest )
DECLARE_EVENT_TABLE()
public:
/// Constructors
LayoutTest( );
LayoutTest( wxWindow* parent, wxWindowID id = SYMBOL_LAYOUTTEST_IDNAME, const wxString& caption = SYMBOL_LAYOUTTEST_TITLE, const wxPoint& pos = SYMBOL_LAYOUTTEST_POSITION, const wxSize& size = SYMBOL_LAYOUTTEST_SIZE, long style = SYMBOL_LAYOUTTEST_STYLE );
/// Creation
bool Create( wxWindow* parent, wxWindowID id = SYMBOL_LAYOUTTEST_IDNAME, const wxString& caption = SYMBOL_LAYOUTTEST_TITLE, const wxPoint& pos = SYMBOL_LAYOUTTEST_POSITION, const wxSize& size = SYMBOL_LAYOUTTEST_SIZE, long style = SYMBOL_LAYOUTTEST_STYLE );
/// Creates the controls and sizers
void CreateControls();
////@begin LayoutTest event handler declarations
////@end LayoutTest event handler declarations
////@begin LayoutTest member function declarations
/// Retrieves bitmap resources
wxBitmap GetBitmapResource( const wxString& name );
/// Retrieves icon resources
wxIcon GetIconResource( const wxString& name );
////@end LayoutTest member function declarations
/// Should we show tooltips?
static bool ShowToolTips();
////@begin LayoutTest member variables
////@end LayoutTest member variables
};
#endif
// _LAYOUTTEST_H_