Use defs.h (and automatically setup.h and chkconf.h) before first wxUSE_* check (bug #1164141).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,6 +20,8 @@
|
|||||||
#pragma interface "choicebase.h"
|
#pragma interface "choicebase.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_CHOICE
|
#if wxUSE_CHOICE
|
||||||
|
|
||||||
#include "wx/ctrlsub.h" // the base class
|
#include "wx/ctrlsub.h" // the base class
|
||||||
|
@@ -1,6 +1,18 @@
|
|||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Name: config.h
|
||||||
|
// Purpose: wxConfig base header
|
||||||
|
// Author: wxWidgets Team
|
||||||
|
// Modified by:
|
||||||
|
// Created:
|
||||||
|
// Copyright: (c) wxWidgets Team
|
||||||
|
// RCS-ID: $Id$
|
||||||
|
// Licence: wxWindows licence
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef _WX_CONFIG_H_BASE_
|
#ifndef _WX_CONFIG_H_BASE_
|
||||||
#define _WX_CONFIG_H_BASE_
|
#define _WX_CONFIG_H_BASE_
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
#include "wx/confbase.h"
|
#include "wx/confbase.h"
|
||||||
|
|
||||||
#if defined(__WXMSW__) && wxUSE_CONFIG_NATIVE
|
#if defined(__WXMSW__) && wxUSE_CONFIG_NATIVE
|
||||||
|
@@ -16,6 +16,8 @@
|
|||||||
#pragma interface "controlwithitems.h"
|
#pragma interface "controlwithitems.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_CONTROLS
|
#if wxUSE_CONTROLS
|
||||||
|
|
||||||
#include "wx/control.h" // base class
|
#include "wx/control.h" // base class
|
||||||
|
@@ -31,14 +31,10 @@
|
|||||||
#define OLD_GETCOLUMNS 1
|
#define OLD_GETCOLUMNS 1
|
||||||
#define EXPERIMENTAL_WXDB_FUNCTIONS 1
|
#define EXPERIMENTAL_WXDB_FUNCTIONS 1
|
||||||
|
|
||||||
#include "wx/version.h"
|
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
||||||
#pragma interface "db.h"
|
#pragma interface "db.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/setup.h"
|
|
||||||
|
|
||||||
#include "wx/defs.h"
|
#include "wx/defs.h"
|
||||||
#include "wx/string.h"
|
#include "wx/string.h"
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
#ifndef DBTABLE_DOT_H
|
#ifndef DBTABLE_DOT_H
|
||||||
#define DBTABLE_DOT_H
|
#define DBTABLE_DOT_H
|
||||||
|
|
||||||
#include "wx/version.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
||||||
#pragma interface "dbtable.h"
|
#pragma interface "dbtable.h"
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
# pragma interface "dynlib.h"
|
# pragma interface "dynlib.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/setup.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_DYNLIB_CLASS
|
#if wxUSE_DYNLIB_CLASS
|
||||||
|
|
||||||
|
@@ -17,12 +17,14 @@
|
|||||||
#pragma interface "file.h"
|
#pragma interface "file.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
|
#if wxUSE_FILE
|
||||||
|
|
||||||
#include "wx/string.h"
|
#include "wx/string.h"
|
||||||
#include "wx/filefn.h"
|
#include "wx/filefn.h"
|
||||||
#include "wx/strconv.h"
|
#include "wx/strconv.h"
|
||||||
|
|
||||||
#if wxUSE_FILE
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// constants
|
// constants
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -5,13 +5,15 @@
|
|||||||
// Modified by:
|
// Modified by:
|
||||||
// Created: 8/17/99
|
// Created: 8/17/99
|
||||||
// Copyright: (c) Robert Roebling
|
// Copyright: (c) Robert Roebling
|
||||||
// RCS-ID:
|
// RCS-ID: $Id$
|
||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef _WX_FILEDLG_H_BASE_
|
#ifndef _WX_FILEDLG_H_BASE_
|
||||||
#define _WX_FILEDLG_H_BASE_
|
#define _WX_FILEDLG_H_BASE_
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_FILEDLG
|
#if wxUSE_FILEDLG
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#pragma interface "filesys.h"
|
#pragma interface "filesys.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/setup.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if !wxUSE_STREAMS
|
#if !wxUSE_STREAMS
|
||||||
#error You cannot compile virtual file systems without wxUSE_STREAMS
|
#error You cannot compile virtual file systems without wxUSE_STREAMS
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
#pragma interface "gdicmn.h"
|
#pragma interface "gdicmn.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/setup.h"
|
#include "wx/defs.h"
|
||||||
#include "wx/list.h"
|
#include "wx/list.h"
|
||||||
#include "wx/string.h"
|
#include "wx/string.h"
|
||||||
#include "wx/fontenc.h"
|
#include "wx/fontenc.h"
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
#pragma interface "gifdecod.h"
|
#pragma interface "gifdecod.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/setup.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_STREAMS && wxUSE_GIF
|
#if wxUSE_STREAMS && wxUSE_GIF
|
||||||
|
|
||||||
|
@@ -12,8 +12,7 @@
|
|||||||
#define __GSOCKET_H
|
#define __GSOCKET_H
|
||||||
|
|
||||||
#ifndef __GSOCKET_STANDALONE__
|
#ifndef __GSOCKET_STANDALONE__
|
||||||
#include "wx/setup.h"
|
#include "wx/defs.h"
|
||||||
#include "wx/platform.h"
|
|
||||||
|
|
||||||
#include "wx/dlimpexp.h" /* for WXDLLIMPEXP_NET */
|
#include "wx/dlimpexp.h" /* for WXDLLIMPEXP_NET */
|
||||||
|
|
||||||
|
@@ -1,6 +1,19 @@
|
|||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Name: help.h
|
||||||
|
// Purpose: wxHelpController base header
|
||||||
|
// Author: wxWidgets Team
|
||||||
|
// Modified by:
|
||||||
|
// Created:
|
||||||
|
// Copyright: (c) wxWidgets Team
|
||||||
|
// RCS-ID: $Id$
|
||||||
|
// Licence: wxWindows licence
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef _WX_HELP_H_BASE_
|
#ifndef _WX_HELP_H_BASE_
|
||||||
#define _WX_HELP_H_BASE_
|
#define _WX_HELP_H_BASE_
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_HELP
|
#if wxUSE_HELP
|
||||||
|
|
||||||
#include "wx/helpbase.h"
|
#include "wx/helpbase.h"
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#pragma interface "image.h"
|
#pragma interface "image.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/setup.h"
|
#include "wx/defs.h"
|
||||||
#include "wx/object.h"
|
#include "wx/object.h"
|
||||||
#include "wx/string.h"
|
#include "wx/string.h"
|
||||||
#include "wx/gdicmn.h"
|
#include "wx/gdicmn.h"
|
||||||
@@ -182,9 +182,9 @@ public:
|
|||||||
|
|
||||||
// Paste the image or part of this image into an image of the given size at the pos
|
// Paste the image or part of this image into an image of the given size at the pos
|
||||||
// any newly exposed areas will be filled with the rgb colour
|
// any newly exposed areas will be filled with the rgb colour
|
||||||
// by default if r = g = b = -1 then fill with this image's mask colour or find and
|
// by default if r = g = b = -1 then fill with this image's mask colour or find and
|
||||||
// set a suitable mask colour
|
// set a suitable mask colour
|
||||||
wxImage Size( const wxSize& size, const wxPoint& pos,
|
wxImage Size( const wxSize& size, const wxPoint& pos,
|
||||||
int r = -1, int g = -1, int b = -1 ) const;
|
int r = -1, int g = -1, int b = -1 ) const;
|
||||||
|
|
||||||
// pastes image into this instance and takes care of
|
// pastes image into this instance and takes care of
|
||||||
@@ -200,7 +200,7 @@ public:
|
|||||||
wxImage& Rescale( int width, int height ) { return *this = Scale(width, height); }
|
wxImage& Rescale( int width, int height ) { return *this = Scale(width, height); }
|
||||||
|
|
||||||
// resizes the image in place
|
// resizes the image in place
|
||||||
wxImage& Resize( const wxSize& size, const wxPoint& pos,
|
wxImage& Resize( const wxSize& size, const wxPoint& pos,
|
||||||
int r = -1, int g = -1, int b = -1 ) { return *this = Size(size, pos, r, g, b); }
|
int r = -1, int g = -1, int b = -1 ) { return *this = Size(size, pos, r, g, b); }
|
||||||
|
|
||||||
// Rotates the image about the given point, 'angle' radians.
|
// Rotates the image about the given point, 'angle' radians.
|
||||||
|
@@ -14,14 +14,16 @@
|
|||||||
#pragma interface "imagjpeg.h"
|
#pragma interface "imagjpeg.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/image.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// wxJPEGHandler
|
// wxJPEGHandler
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
#if wxUSE_LIBJPEG
|
#if wxUSE_LIBJPEG
|
||||||
|
|
||||||
|
#include "wx/image.h"
|
||||||
|
|
||||||
class WXDLLEXPORT wxJPEGHandler: public wxImageHandler
|
class WXDLLEXPORT wxJPEGHandler: public wxImageHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -42,7 +44,8 @@ public:
|
|||||||
private:
|
private:
|
||||||
DECLARE_DYNAMIC_CLASS(wxJPEGHandler)
|
DECLARE_DYNAMIC_CLASS(wxJPEGHandler)
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
#endif // wxUSE_LIBJPEG
|
||||||
|
|
||||||
#endif // _WX_IMAGJPEG_H_
|
#endif // _WX_IMAGJPEG_H_
|
||||||
|
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#pragma interface "imagpng.h"
|
#pragma interface "imagpng.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/image.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// wxPNGHandler
|
// wxPNGHandler
|
||||||
@@ -22,6 +22,8 @@
|
|||||||
|
|
||||||
#if wxUSE_LIBPNG
|
#if wxUSE_LIBPNG
|
||||||
|
|
||||||
|
#include "wx/image.h"
|
||||||
|
|
||||||
#define wxIMAGE_OPTION_PNG_FORMAT wxT("PngFormat")
|
#define wxIMAGE_OPTION_PNG_FORMAT wxT("PngFormat")
|
||||||
#define wxIMAGE_OPTION_PNG_BITDEPTH wxT("PngBitDepth")
|
#define wxIMAGE_OPTION_PNG_BITDEPTH wxT("PngBitDepth")
|
||||||
|
|
||||||
@@ -52,8 +54,9 @@ public:
|
|||||||
private:
|
private:
|
||||||
DECLARE_DYNAMIC_CLASS(wxPNGHandler)
|
DECLARE_DYNAMIC_CLASS(wxPNGHandler)
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
||||||
|
#endif
|
||||||
|
// wxUSE_LIBPNG
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
// _WX_IMAGPNG_H_
|
// _WX_IMAGPNG_H_
|
||||||
|
@@ -14,6 +14,14 @@
|
|||||||
#pragma interface "imagtiff.h"
|
#pragma interface "imagtiff.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
// wxTIFFHandler
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#if wxUSE_LIBTIFF
|
||||||
|
|
||||||
#include "wx/image.h"
|
#include "wx/image.h"
|
||||||
|
|
||||||
// defines for wxImage::SetOption
|
// defines for wxImage::SetOption
|
||||||
@@ -22,11 +30,6 @@
|
|||||||
#define wxIMAGE_OPTION_COMPRESSION wxString(_T("Compression"))
|
#define wxIMAGE_OPTION_COMPRESSION wxString(_T("Compression"))
|
||||||
#define wxIMAGE_OPTION_IMAGEDESCRIPTOR wxString(_T("ImageDescriptor"))
|
#define wxIMAGE_OPTION_IMAGEDESCRIPTOR wxString(_T("ImageDescriptor"))
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
// wxTIFFHandler
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#if wxUSE_LIBTIFF
|
|
||||||
class WXDLLEXPORT wxTIFFHandler: public wxImageHandler
|
class WXDLLEXPORT wxTIFFHandler: public wxImageHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -42,9 +45,8 @@ public:
|
|||||||
private:
|
private:
|
||||||
DECLARE_DYNAMIC_CLASS(wxTIFFHandler)
|
DECLARE_DYNAMIC_CLASS(wxTIFFHandler)
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
||||||
|
#endif // wxUSE_LIBTIFF
|
||||||
|
|
||||||
#endif
|
#endif // _WX_IMAGTIFF_H_
|
||||||
// _WX_IMAGTIFF_H_
|
|
||||||
|
|
||||||
|
@@ -1,6 +1,19 @@
|
|||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Name: joystick.h
|
||||||
|
// Purpose: wxJoystick base header
|
||||||
|
// Author: wxWidgets Team
|
||||||
|
// Modified by:
|
||||||
|
// Created:
|
||||||
|
// Copyright: (c) wxWidgets Team
|
||||||
|
// RCS-ID: $Id$
|
||||||
|
// Licence: wxWindows licence
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef _WX_JOYSTICK_H_BASE_
|
#ifndef _WX_JOYSTICK_H_BASE_
|
||||||
#define _WX_JOYSTICK_H_BASE_
|
#define _WX_JOYSTICK_H_BASE_
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_JOYSTICK
|
#if wxUSE_JOYSTICK
|
||||||
|
|
||||||
#if defined(__WXMSW__)
|
#if defined(__WXMSW__)
|
||||||
|
@@ -16,6 +16,8 @@
|
|||||||
// #pragma interface "listctrlbase.h"
|
// #pragma interface "listctrlbase.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_LISTCTRL
|
#if wxUSE_LISTCTRL
|
||||||
|
|
||||||
#include "wx/colour.h"
|
#include "wx/colour.h"
|
||||||
|
@@ -1,7 +1,18 @@
|
|||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Name: mdi.h
|
||||||
|
// Purpose: wxMDI base header
|
||||||
|
// Author: wxWidgets Team
|
||||||
|
// Modified by:
|
||||||
|
// Created:
|
||||||
|
// Copyright: (c) wxWidgets Team
|
||||||
|
// RCS-ID: $Id$
|
||||||
|
// Licence: wxWindows licence
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef _WX_MDI_H_BASE_
|
#ifndef _WX_MDI_H_BASE_
|
||||||
#define _WX_MDI_H_BASE_
|
#define _WX_MDI_H_BASE_
|
||||||
|
|
||||||
#include "wx/setup.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_MDI
|
#if wxUSE_MDI
|
||||||
|
|
||||||
|
@@ -26,9 +26,12 @@
|
|||||||
#pragma interface "mediactrl.h"
|
#pragma interface "mediactrl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// Compilation guard
|
// Compilation guard
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
#if wxUSE_MEDIACTRL
|
#if wxUSE_MEDIACTRL
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
@@ -179,10 +182,10 @@ public:
|
|||||||
wxFileOffset Length(); //FIXME: This should be const
|
wxFileOffset Length(); //FIXME: This should be const
|
||||||
|
|
||||||
//
|
//
|
||||||
// Unofficial parts of API
|
// Unofficial parts of API
|
||||||
//
|
//
|
||||||
//DirectShow/GStreamer only. Quicktime too, but somewhat buggy...
|
//DirectShow/GStreamer only. Quicktime too, but somewhat buggy...
|
||||||
bool Load(const wxURI& location);
|
bool Load(const wxURI& location);
|
||||||
|
|
||||||
double GetPlaybackRate(); //All but MCI & GStreamer
|
double GetPlaybackRate(); //All but MCI & GStreamer
|
||||||
bool SetPlaybackRate(double dRate); //All but MCI & GStreamer
|
bool SetPlaybackRate(double dRate); //All but MCI & GStreamer
|
||||||
|
@@ -12,6 +12,8 @@
|
|||||||
#ifndef _WX_MENUITEM_H_BASE_
|
#ifndef _WX_MENUITEM_H_BASE_
|
||||||
#define _WX_MENUITEM_H_BASE_
|
#define _WX_MENUITEM_H_BASE_
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_MENUS
|
#if wxUSE_MENUS
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _WX_MSGDLG_H_BASE_
|
#ifndef _WX_MSGDLG_H_BASE_
|
||||||
#define _WX_MSGDLG_H_BASE_
|
#define _WX_MSGDLG_H_BASE_
|
||||||
|
|
||||||
#include "wx/setup.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_MSGDLG
|
#if wxUSE_MSGDLG
|
||||||
|
|
||||||
|
@@ -12,10 +12,12 @@
|
|||||||
#ifndef _WX_WXMMSTREAM_H__
|
#ifndef _WX_WXMMSTREAM_H__
|
||||||
#define _WX_WXMMSTREAM_H__
|
#define _WX_WXMMSTREAM_H__
|
||||||
|
|
||||||
#include "wx/stream.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_STREAMS
|
#if wxUSE_STREAMS
|
||||||
|
|
||||||
|
#include "wx/stream.h"
|
||||||
|
|
||||||
class WXDLLIMPEXP_BASE wxMemoryInputStream : public wxInputStream
|
class WXDLLIMPEXP_BASE wxMemoryInputStream : public wxInputStream
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@@ -12,6 +12,8 @@
|
|||||||
#ifndef _OWNERDRW_H
|
#ifndef _OWNERDRW_H
|
||||||
#define _OWNERDRW_H
|
#define _OWNERDRW_H
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_OWNER_DRAWN
|
#if wxUSE_OWNER_DRAWN
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
||||||
|
@@ -16,9 +16,12 @@
|
|||||||
#pragma interface "popupwinbase.h"
|
#pragma interface "popupwinbase.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/window.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_POPUPWIN
|
#if wxUSE_POPUPWIN
|
||||||
|
|
||||||
|
#include "wx/window.h"
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxPopupWindow: a special kind of top level window used for popup menus,
|
// wxPopupWindow: a special kind of top level window used for popup menus,
|
||||||
// combobox popups and such.
|
// combobox popups and such.
|
||||||
@@ -106,7 +109,7 @@ public:
|
|||||||
|
|
||||||
// Overridden to grab the input on some plaforms
|
// Overridden to grab the input on some plaforms
|
||||||
virtual bool Show( bool show = true );
|
virtual bool Show( bool show = true );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// common part of all ctors
|
// common part of all ctors
|
||||||
void Init();
|
void Init();
|
||||||
|
@@ -12,6 +12,8 @@
|
|||||||
#ifndef _WX_RADIOBUT_H_BASE_
|
#ifndef _WX_RADIOBUT_H_BASE_
|
||||||
#define _WX_RADIOBUT_H_BASE_
|
#define _WX_RADIOBUT_H_BASE_
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_RADIOBTN
|
#if wxUSE_RADIOBTN
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -1,6 +1,19 @@
|
|||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Name: scrolbar.h
|
||||||
|
// Purpose: wxScrollBar base header
|
||||||
|
// Author: wxWidgets Team
|
||||||
|
// Modified by:
|
||||||
|
// Created:
|
||||||
|
// Copyright: (c) wxWidgets Team
|
||||||
|
// RCS-ID: $Id$
|
||||||
|
// Licence: wxWindows licence
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef _WX_SCROLBAR_H_BASE_
|
#ifndef _WX_SCROLBAR_H_BASE_
|
||||||
#define _WX_SCROLBAR_H_BASE_
|
#define _WX_SCROLBAR_H_BASE_
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_SCROLLBAR
|
#if wxUSE_SCROLLBAR
|
||||||
|
|
||||||
#include "wx/control.h"
|
#include "wx/control.h"
|
||||||
|
@@ -12,6 +12,10 @@
|
|||||||
#ifndef _WX_SPINCTRL_H_
|
#ifndef _WX_SPINCTRL_H_
|
||||||
#define _WX_SPINCTRL_H_
|
#define _WX_SPINCTRL_H_
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
|
#if wxUSE_SPINCTRL
|
||||||
|
|
||||||
#include "wx/spinbutt.h" // should make wxSpinEvent visible to the app
|
#include "wx/spinbutt.h" // should make wxSpinEvent visible to the app
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
@@ -72,5 +76,6 @@ protected:
|
|||||||
#define EVT_SPINCTRL(id, fn) \
|
#define EVT_SPINCTRL(id, fn) \
|
||||||
wx__DECLARE_EVT1(wxEVT_COMMAND_SPINCTRL_UPDATED, id, wxSpinEventHandler(fn))
|
wx__DECLARE_EVT1(wxEVT_COMMAND_SPINCTRL_UPDATED, id, wxSpinEventHandler(fn))
|
||||||
|
|
||||||
#endif // _WX_SPINCTRL_H_
|
#endif // wxUSE_SPINCTRL
|
||||||
|
|
||||||
|
#endif // _WX_SPINCTRL_H_
|
||||||
|
@@ -1,6 +1,19 @@
|
|||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Name: statbox.h
|
||||||
|
// Purpose: wxStaticBox base header
|
||||||
|
// Author: wxWidgets Team
|
||||||
|
// Modified by:
|
||||||
|
// Created:
|
||||||
|
// Copyright: (c) wxWidgets Team
|
||||||
|
// RCS-ID: $Id$
|
||||||
|
// Licence: wxWindows licence
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef _WX_STATBOX_H_BASE_
|
#ifndef _WX_STATBOX_H_BASE_
|
||||||
#define _WX_STATBOX_H_BASE_
|
#define _WX_STATBOX_H_BASE_
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_STATBOX
|
#if wxUSE_STATBOX
|
||||||
|
|
||||||
#include "wx/control.h"
|
#include "wx/control.h"
|
||||||
|
@@ -1,6 +1,19 @@
|
|||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Name: stattext.h
|
||||||
|
// Purpose: wxStaticText base header
|
||||||
|
// Author: wxWidgets Team
|
||||||
|
// Modified by:
|
||||||
|
// Created:
|
||||||
|
// Copyright: (c) wxWidgets Team
|
||||||
|
// RCS-ID: $Id$
|
||||||
|
// Licence: wxWindows licence
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef _WX_STATTEXT_H_BASE_
|
#ifndef _WX_STATTEXT_H_BASE_
|
||||||
#define _WX_STATTEXT_H_BASE_
|
#define _WX_STATTEXT_H_BASE_
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_STATTEXT
|
#if wxUSE_STATTEXT
|
||||||
|
|
||||||
#include "wx/control.h"
|
#include "wx/control.h"
|
||||||
|
@@ -11,6 +11,7 @@
|
|||||||
#ifndef _WX_STOPWATCH_H_
|
#ifndef _WX_STOPWATCH_H_
|
||||||
#define _WX_STOPWATCH_H_
|
#define _WX_STOPWATCH_H_
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
#include "wx/longlong.h"
|
#include "wx/longlong.h"
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -17,15 +17,15 @@
|
|||||||
#pragma interface "timerbase.h"
|
#pragma interface "timerbase.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/setup.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
|
#if wxUSE_GUI && wxUSE_TIMER
|
||||||
|
|
||||||
#include "wx/object.h"
|
#include "wx/object.h"
|
||||||
#include "wx/longlong.h"
|
#include "wx/longlong.h"
|
||||||
#include "wx/event.h"
|
#include "wx/event.h"
|
||||||
|
|
||||||
#include "wx/stopwatch.h" // for backwards compatibility
|
#include "wx/stopwatch.h" // for backwards compatibility
|
||||||
|
|
||||||
#if wxUSE_GUI && wxUSE_TIMER
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxTimer
|
// wxTimer
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -1,7 +1,18 @@
|
|||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Name: tooltip.h
|
||||||
|
// Purpose: wxToolTip base header
|
||||||
|
// Author: wxWidgets Team
|
||||||
|
// Modified by:
|
||||||
|
// Created:
|
||||||
|
// Copyright: (c) wxWidgets Team
|
||||||
|
// RCS-ID: $Id$
|
||||||
|
// Licence: wxWindows licence
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef _WX_TOOLTIP_H_BASE_
|
#ifndef _WX_TOOLTIP_H_BASE_
|
||||||
#define _WX_TOOLTIP_H_BASE_
|
#define _WX_TOOLTIP_H_BASE_
|
||||||
|
|
||||||
#include "wx/setup.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_TOOLTIPS
|
#if wxUSE_TOOLTIPS
|
||||||
|
|
||||||
|
@@ -20,6 +20,8 @@
|
|||||||
// headers
|
// headers
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_TREECTRL
|
#if wxUSE_TREECTRL
|
||||||
|
|
||||||
#include "wx/window.h" // for wxClientData
|
#include "wx/window.h" // for wxClientData
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _WX_WAVE_H_BASE_
|
#ifndef _WX_WAVE_H_BASE_
|
||||||
#define _WX_WAVE_H_BASE_
|
#define _WX_WAVE_H_BASE_
|
||||||
|
|
||||||
#include "wx/setup.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_SOUND
|
#if wxUSE_SOUND
|
||||||
|
|
||||||
|
@@ -17,6 +17,8 @@
|
|||||||
#ifndef _WX_WIZARD_H_
|
#ifndef _WX_WIZARD_H_
|
||||||
#define _WX_WIZARD_H_
|
#define _WX_WIZARD_H_
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_WIZARDDLG
|
#if wxUSE_WIZARDDLG
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#pragma interface "xpmdecod.h"
|
#pragma interface "xpmdecod.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/setup.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
|
|
||||||
class WXDLLIMPEXP_CORE wxImage;
|
class WXDLLIMPEXP_CORE wxImage;
|
||||||
|
@@ -40,6 +40,7 @@
|
|||||||
|
|
||||||
#include "wx/sckaddr.h"
|
#include "wx/sckaddr.h"
|
||||||
#include "wx/socket.h"
|
#include "wx/socket.h"
|
||||||
|
#include "wx/stopwatch.h"
|
||||||
|
|
||||||
// DLL options compatibility check:
|
// DLL options compatibility check:
|
||||||
#include "wx/build.h"
|
#include "wx/build.h"
|
||||||
|
Reference in New Issue
Block a user