move some data definitions to more appropriate places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -93,8 +93,6 @@ protected:
|
|||||||
// global variables
|
// global variables
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
extern WXDLLEXPORT_DATA(int) wxPageNumber;
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
// wxDC is the device context - object on which any drawing is done
|
// wxDC is the device context - object on which any drawing is done
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
@@ -676,9 +676,6 @@ extern WXDLLEXPORT_DATA(const wxChar) wxPanelNameStr[];
|
|||||||
extern WXDLLEXPORT_DATA(const wxSize) wxDefaultSize;
|
extern WXDLLEXPORT_DATA(const wxSize) wxDefaultSize;
|
||||||
extern WXDLLEXPORT_DATA(const wxPoint) wxDefaultPosition;
|
extern WXDLLEXPORT_DATA(const wxPoint) wxDefaultPosition;
|
||||||
|
|
||||||
// The list of objects which should be deleted
|
|
||||||
extern WXDLLEXPORT_DATA(wxList) wxPendingDelete;
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
// global functions
|
// global functions
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
@@ -11,16 +11,19 @@
|
|||||||
#ifndef _WX_DCPSG_H_
|
#ifndef _WX_DCPSG_H_
|
||||||
#define _WX_DCPSG_H_
|
#define _WX_DCPSG_H_
|
||||||
|
|
||||||
#include "wx/dc.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_PRINTING_ARCHITECTURE
|
#if wxUSE_PRINTING_ARCHITECTURE
|
||||||
|
|
||||||
#if wxUSE_POSTSCRIPT
|
#if wxUSE_POSTSCRIPT
|
||||||
|
|
||||||
|
#include "wx/dc.h"
|
||||||
#include "wx/dialog.h"
|
#include "wx/dialog.h"
|
||||||
#include "wx/module.h"
|
#include "wx/module.h"
|
||||||
#include "wx/cmndata.h"
|
#include "wx/cmndata.h"
|
||||||
|
|
||||||
|
extern WXDLLIMPEXP_DATA_CORE(int) wxPageNumber;
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// classes
|
// classes
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
@@ -34,9 +34,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
extern int wxPageNumber;
|
|
||||||
|
|
||||||
|
|
||||||
class wxMacPortStateHelper;
|
class wxMacPortStateHelper;
|
||||||
|
|
||||||
class WXDLLEXPORT wxGraphicPath
|
class WXDLLEXPORT wxGraphicPath
|
||||||
|
@@ -37,8 +37,6 @@
|
|||||||
// global variables
|
// global variables
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
extern int wxPageNumber;
|
|
||||||
|
|
||||||
class wxMacPortStateHelper ;
|
class wxMacPortStateHelper ;
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// wxDC
|
// wxDC
|
||||||
|
@@ -111,7 +111,6 @@ WXDLLEXPORT_DATA(extern const wxChar) wxBitmapRadioButtonNameStr[];
|
|||||||
WXDLLEXPORT_DATA(extern const wxChar) wxScrollBarNameStr[];
|
WXDLLEXPORT_DATA(extern const wxChar) wxScrollBarNameStr[];
|
||||||
WXDLLEXPORT_DATA(extern const wxChar) wxSliderNameStr[];
|
WXDLLEXPORT_DATA(extern const wxChar) wxSliderNameStr[];
|
||||||
WXDLLEXPORT_DATA(extern const wxChar) wxTextCtrlNameStr[];
|
WXDLLEXPORT_DATA(extern const wxChar) wxTextCtrlNameStr[];
|
||||||
WXDLLEXPORT_DATA(extern const wxChar) wxEnhDialogNameStr[];
|
|
||||||
WXDLLEXPORT_DATA(extern const wxChar) wxToolBarNameStr[];
|
WXDLLEXPORT_DATA(extern const wxChar) wxToolBarNameStr[];
|
||||||
WXDLLEXPORT_DATA(extern const wxChar) wxStatusLineNameStr[];
|
WXDLLEXPORT_DATA(extern const wxChar) wxStatusLineNameStr[];
|
||||||
WXDLLEXPORT_DATA(extern const wxChar) wxGetTextFromUserPromptStr[];
|
WXDLLEXPORT_DATA(extern const wxChar) wxGetTextFromUserPromptStr[];
|
||||||
|
@@ -113,6 +113,7 @@ WX_DECLARE_LIST_3(wxWindow, wxWindowBase, wxWindowList, wxWindowListNode, class
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
extern WXDLLEXPORT_DATA(wxWindowList) wxTopLevelWindows;
|
extern WXDLLEXPORT_DATA(wxWindowList) wxTopLevelWindows;
|
||||||
|
extern WXDLLIMPEXP_DATA_CORE(wxList) wxPendingDelete;
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxWindowBase is the base class for all GUI controls/widgets, this is the public
|
// wxWindowBase is the base class for all GUI controls/widgets, this is the public
|
||||||
|
@@ -55,6 +55,7 @@
|
|||||||
#include "wx/build.h"
|
#include "wx/build.h"
|
||||||
WX_CHECK_BUILD_OPTIONS("wxCore")
|
WX_CHECK_BUILD_OPTIONS("wxCore")
|
||||||
|
|
||||||
|
WXDLLIMPEXP_DATA_CORE(wxList) wxPendingDelete;
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxEventLoopPtr
|
// wxEventLoopPtr
|
||||||
|
@@ -30,6 +30,8 @@
|
|||||||
#include "wx/choice.h"
|
#include "wx/choice.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
WXDLLIMPEXP_DATA_CORE(const wxChar) wxChoiceNameStr[] = wxT("choice");
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
// implementation
|
// implementation
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
@@ -38,6 +38,8 @@
|
|||||||
#include "wx/statbmp.h"
|
#include "wx/statbmp.h"
|
||||||
#endif // wxUSE_STATBMP
|
#endif // wxUSE_STATBMP
|
||||||
|
|
||||||
|
WXDLLIMPEXP_DATA_CORE(const wxChar) wxControlNameStr[] = wxT("control");
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
// implementation
|
// implementation
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
@@ -25,56 +25,25 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/wx.h"
|
|
||||||
#include "wx/treectrl.h"
|
|
||||||
#endif // WX_PRECOMP
|
#endif // WX_PRECOMP
|
||||||
|
|
||||||
|
#include "wx/accel.h"
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
// implementation
|
// implementation
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
|
||||||
// Useful buffer, initialized in wxCommonInit
|
|
||||||
wxChar *wxBuffer = NULL;
|
|
||||||
|
|
||||||
// Windows List
|
|
||||||
wxWindowList wxTopLevelWindows;
|
|
||||||
|
|
||||||
// List of windows pending deletion
|
|
||||||
wxList WXDLLEXPORT wxPendingDelete;
|
|
||||||
|
|
||||||
int wxPageNumber;
|
|
||||||
|
|
||||||
// GDI Object Lists
|
|
||||||
wxFontList *wxTheFontList = NULL;
|
|
||||||
wxPenList *wxThePenList = NULL;
|
|
||||||
wxBrushList *wxTheBrushList = NULL;
|
|
||||||
wxColourDatabase *wxTheColourDatabase = NULL;
|
|
||||||
|
|
||||||
// 'Null' objects
|
// 'Null' objects
|
||||||
#if wxUSE_ACCEL
|
#if wxUSE_ACCEL
|
||||||
wxAcceleratorTable wxNullAcceleratorTable;
|
wxAcceleratorTable wxNullAcceleratorTable;
|
||||||
#endif // wxUSE_ACCEL
|
#endif // wxUSE_ACCEL
|
||||||
|
|
||||||
wxBitmap wxNullBitmap;
|
|
||||||
wxIcon wxNullIcon;
|
|
||||||
wxCursor wxNullCursor;
|
|
||||||
wxPen wxNullPen;
|
|
||||||
wxBrush wxNullBrush;
|
|
||||||
#if wxUSE_PALETTE
|
|
||||||
wxPalette wxNullPalette;
|
|
||||||
#endif // wxUSE_PALETTE
|
|
||||||
wxFont wxNullFont;
|
|
||||||
wxColour wxNullColour;
|
|
||||||
|
|
||||||
// Default window names
|
// Default window names
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxControlNameStr[] = wxT("control");
|
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxButtonNameStr[] = wxT("button");
|
extern WXDLLEXPORT_DATA(const wxChar) wxButtonNameStr[] = wxT("button");
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxCheckBoxNameStr[] = wxT("check");
|
extern WXDLLEXPORT_DATA(const wxChar) wxCheckBoxNameStr[] = wxT("check");
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxChoiceNameStr[] = wxT("choice");
|
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxComboBoxNameStr[] = wxT("comboBox");
|
extern WXDLLEXPORT_DATA(const wxChar) wxComboBoxNameStr[] = wxT("comboBox");
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxDialogNameStr[] = wxT("dialog");
|
extern WXDLLEXPORT_DATA(const wxChar) wxDialogNameStr[] = wxT("dialog");
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxFrameNameStr[] = wxT("frame");
|
extern WXDLLEXPORT_DATA(const wxChar) wxFrameNameStr[] = wxT("frame");
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxGaugeNameStr[] = wxT("gauge");
|
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxStaticBoxNameStr[] = wxT("groupBox");
|
extern WXDLLEXPORT_DATA(const wxChar) wxStaticBoxNameStr[] = wxT("groupBox");
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxListBoxNameStr[] = wxT("listBox");
|
extern WXDLLEXPORT_DATA(const wxChar) wxListBoxNameStr[] = wxT("listBox");
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxListCtrlNameStr[] = wxT("listCtrl");
|
extern WXDLLEXPORT_DATA(const wxChar) wxListCtrlNameStr[] = wxT("listCtrl");
|
||||||
@@ -90,13 +59,9 @@ extern WXDLLEXPORT_DATA(const wxChar) wxSliderNameStr[] = wxT("slider");
|
|||||||
extern WXDLLEXPORT_DATA(const wxChar) wxStatusLineNameStr[] = wxT("status_line");
|
extern WXDLLEXPORT_DATA(const wxChar) wxStatusLineNameStr[] = wxT("status_line");
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxTextCtrlNameStr[] = wxT("text");
|
extern WXDLLEXPORT_DATA(const wxChar) wxTextCtrlNameStr[] = wxT("text");
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxTreeCtrlNameStr[] = wxT("treeCtrl");
|
extern WXDLLEXPORT_DATA(const wxChar) wxTreeCtrlNameStr[] = wxT("treeCtrl");
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxEnhDialogNameStr[] = wxT("Shell");
|
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxToolBarNameStr[] = wxT("toolbar");
|
extern WXDLLEXPORT_DATA(const wxChar) wxToolBarNameStr[] = wxT("toolbar");
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxDataViewCtrlNameStr[] = wxT("dataviewCtrl");
|
|
||||||
|
|
||||||
// Default messages
|
// Default messages
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxGetTextFromUserPromptStr[] = wxT("Input Text");
|
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxGetPasswordFromUserPromptStr[] = wxT("Enter Password");
|
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxMessageBoxCaptionStr[] = wxT("Message");
|
extern WXDLLEXPORT_DATA(const wxChar) wxMessageBoxCaptionStr[] = wxT("Message");
|
||||||
extern WXDLLEXPORT_DATA(const wxChar) wxFileSelectorPromptStr[] = wxT("Select a file");
|
extern WXDLLEXPORT_DATA(const wxChar) wxFileSelectorPromptStr[] = wxT("Select a file");
|
||||||
|
|
||||||
@@ -114,8 +79,3 @@ extern WXDLLEXPORT_DATA(const wxChar) wxDirDialogDefaultFolderStr[] = wxT("/");
|
|||||||
#if defined(__WXMSW__) || defined(__OS2__)
|
#if defined(__WXMSW__) || defined(__OS2__)
|
||||||
WXDLLEXPORT_DATA(const wxChar *) wxUserResourceStr = wxT("TEXT");
|
WXDLLEXPORT_DATA(const wxChar *) wxUserResourceStr = wxT("TEXT");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
const wxSize wxDefaultSize(wxDefaultCoord, wxDefaultCoord);
|
|
||||||
const wxPoint wxDefaultPosition(wxDefaultCoord, wxDefaultCoord);
|
|
||||||
|
|
||||||
|
@@ -17,13 +17,13 @@
|
|||||||
|
|
||||||
#if wxUSE_DATAVIEWCTRL
|
#if wxUSE_DATAVIEWCTRL
|
||||||
|
|
||||||
|
#include "wx/dataview.h"
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/object.h"
|
|
||||||
#include "wx/log.h"
|
#include "wx/log.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/image.h"
|
WXDLLIMPEXP_DATA_ADV(const wxChar) wxDataViewCtrlNameStr[] = wxT("dataviewCtrl");
|
||||||
#include "wx/dataview.h"
|
|
||||||
|
|
||||||
// ---------------------------------------------------------
|
// ---------------------------------------------------------
|
||||||
// wxDataViewModel
|
// wxDataViewModel
|
||||||
|
@@ -29,6 +29,8 @@
|
|||||||
|
|
||||||
// bool wxDCBase::sm_cacheing = false;
|
// bool wxDCBase::sm_cacheing = false;
|
||||||
|
|
||||||
|
IMPLEMENT_ABSTRACT_CLASS(wxDCBase, wxObject)
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
// implementation
|
// implementation
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
@@ -27,9 +27,11 @@
|
|||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#endif //WX_PRECOMP
|
#endif //WX_PRECOMP
|
||||||
|
|
||||||
|
#if wxUSE_GAUGE
|
||||||
|
|
||||||
#include "wx/gauge.h"
|
#include "wx/gauge.h"
|
||||||
|
|
||||||
#if wxUSE_GAUGE
|
WXDLLIMPEXP_DATA_CORE(const wxChar) wxGaugeNameStr[] = wxT("gauge");
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
// implementation
|
// implementation
|
||||||
|
@@ -9,10 +9,6 @@
|
|||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifdef __VMS
|
|
||||||
#define XtDisplay XTDISPLAY
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx.h".
|
// For compilers that support precompilation, includes "wx.h".
|
||||||
#include "wx/wxprec.h"
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
@@ -24,10 +20,6 @@
|
|||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/log.h"
|
#include "wx/log.h"
|
||||||
#include "wx/event.h"
|
|
||||||
#include "wx/app.h"
|
|
||||||
#include "wx/utils.h"
|
|
||||||
#include "wx/dc.h"
|
|
||||||
#include "wx/pen.h"
|
#include "wx/pen.h"
|
||||||
#include "wx/brush.h"
|
#include "wx/brush.h"
|
||||||
#include "wx/palette.h"
|
#include "wx/palette.h"
|
||||||
@@ -36,25 +28,32 @@
|
|||||||
#include "wx/settings.h"
|
#include "wx/settings.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "wx/colour.h"
|
||||||
#include "wx/bitmap.h"
|
#include "wx/bitmap.h"
|
||||||
#include "wx/font.h"
|
#include "wx/font.h"
|
||||||
#include "wx/hashmap.h"
|
#include "wx/hashmap.h"
|
||||||
|
|
||||||
#include <string.h>
|
WXDLLIMPEXP_DATA_CORE(wxBrushList*) wxTheBrushList;
|
||||||
|
WXDLLIMPEXP_DATA_CORE(wxFontList*) wxTheFontList;
|
||||||
|
WXDLLIMPEXP_DATA_CORE(wxPenList*) wxThePenList;
|
||||||
|
|
||||||
#ifdef __WXMOTIF__
|
WXDLLIMPEXP_DATA_CORE(wxColourDatabase*) wxTheColourDatabase;
|
||||||
#ifdef __VMS__
|
|
||||||
#pragma message disable nosimpint
|
WXDLLIMPEXP_DATA_CORE(wxBitmap) wxNullBitmap;
|
||||||
#endif
|
WXDLLIMPEXP_DATA_CORE(wxBrush) wxNullBrush;
|
||||||
#include <Xm/Xm.h>
|
WXDLLIMPEXP_DATA_CORE(wxColour) wxNullColour;
|
||||||
#ifdef __VMS__
|
WXDLLIMPEXP_DATA_CORE(wxCursor) wxNullCursor;
|
||||||
#pragma message enable nosimpint
|
WXDLLIMPEXP_DATA_CORE(wxFont) wxNullFont;
|
||||||
#endif
|
WXDLLIMPEXP_DATA_CORE(wxIcon) wxNullIcon;
|
||||||
|
WXDLLIMPEXP_DATA_CORE(wxPen) wxNullPen;
|
||||||
|
#if wxUSE_PALETTE
|
||||||
|
WXDLLIMPEXP_DATA_CORE(wxPalette) wxNullPalette;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __WXX11__
|
WX_DECLARE_STRING_HASH_MAP(wxColour*, wxStringToColourHashMap);
|
||||||
#include "X11/Xlib.h"
|
|
||||||
#endif
|
const wxSize wxDefaultSize(wxDefaultCoord, wxDefaultCoord);
|
||||||
|
const wxPoint wxDefaultPosition(wxDefaultCoord, wxDefaultCoord);
|
||||||
|
|
||||||
#if wxUSE_EXTENDED_RTTI
|
#if wxUSE_EXTENDED_RTTI
|
||||||
|
|
||||||
@@ -86,8 +85,6 @@ wxCUSTOM_TYPE_INFO(wxSize, wxToStringConverter<wxSize> , wxFromStringConverter<w
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
IMPLEMENT_ABSTRACT_CLASS(wxDCBase, wxObject)
|
|
||||||
|
|
||||||
wxRect::wxRect(const wxPoint& point1, const wxPoint& point2)
|
wxRect::wxRect(const wxPoint& point1, const wxPoint& point2)
|
||||||
{
|
{
|
||||||
x = point1.x;
|
x = point1.x;
|
||||||
|
@@ -80,16 +80,15 @@
|
|||||||
// For reporting compile- and runtime version of GTK+ in the ctrl+alt+mclick dialog.
|
// For reporting compile- and runtime version of GTK+ in the ctrl+alt+mclick dialog.
|
||||||
// The gtk includes don't pull any other headers in, at least not on my system - MR
|
// The gtk includes don't pull any other headers in, at least not on my system - MR
|
||||||
#ifdef __WXGTK__
|
#ifdef __WXGTK__
|
||||||
#ifdef __WXGTK20__
|
#include <gtk/gtkversion.h>
|
||||||
#include <gtk/gtkversion.h>
|
|
||||||
#else
|
|
||||||
#include <gtk/gtkfeatures.h>
|
|
||||||
#endif
|
|
||||||
extern const unsigned int gtk_major_version;
|
extern const unsigned int gtk_major_version;
|
||||||
extern const unsigned int gtk_minor_version;
|
extern const unsigned int gtk_minor_version;
|
||||||
extern const unsigned int gtk_micro_version;
|
extern const unsigned int gtk_micro_version;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Windows List
|
||||||
|
WXDLLIMPEXP_DATA_CORE(wxWindowList) wxTopLevelWindows;
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// static data
|
// static data
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -35,6 +35,8 @@
|
|||||||
#include "wx/math.h"
|
#include "wx/math.h"
|
||||||
#include "wx/stdpaths.h"
|
#include "wx/stdpaths.h"
|
||||||
|
|
||||||
|
WXDLLIMPEXP_DATA_CORE(int) wxPageNumber;
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
|
|
||||||
#ifdef DrawText
|
#ifdef DrawText
|
||||||
|
@@ -26,6 +26,8 @@
|
|||||||
|
|
||||||
#if wxUSE_TEXTDLG
|
#if wxUSE_TEXTDLG
|
||||||
|
|
||||||
|
#include "wx/generic/textdlgg.h"
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/utils.h"
|
#include "wx/utils.h"
|
||||||
#include "wx/dialog.h"
|
#include "wx/dialog.h"
|
||||||
@@ -40,7 +42,8 @@
|
|||||||
#include "wx/statline.h"
|
#include "wx/statline.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/generic/textdlgg.h"
|
WXDLLIMPEXP_DATA_CORE(const wxChar) wxGetTextFromUserPromptStr[] = wxT("Input Text");
|
||||||
|
WXDLLIMPEXP_DATA_CORE(const wxChar) wxGetPasswordFromUserPromptStr[] = wxT("Enter Password");
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// constants
|
// constants
|
||||||
|
@@ -11,9 +11,6 @@
|
|||||||
#include "wx/wxprec.h"
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/object.h"
|
|
||||||
#include "wx/window.h"
|
|
||||||
#include "wx/dc.h"
|
|
||||||
#include "wx/cursor.h"
|
#include "wx/cursor.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -38,8 +38,6 @@ const int wxMENU_HEIGHT = 27;
|
|||||||
// globals
|
// globals
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
extern wxList wxPendingDelete;
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// "switch_page"
|
// "switch_page"
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
@@ -54,8 +54,6 @@
|
|||||||
// data
|
// data
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
extern wxList wxPendingDelete;
|
|
||||||
|
|
||||||
extern int g_openDialogs;
|
extern int g_openDialogs;
|
||||||
extern wxWindowGTK *g_delayedFocus;
|
extern wxWindowGTK *g_delayedFocus;
|
||||||
|
|
||||||
|
@@ -221,7 +221,6 @@ extern GtkContainerClass *pizza_parent_class;
|
|||||||
// data
|
// data
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
extern wxList wxPendingDelete;
|
|
||||||
extern bool g_blockEventsOnDrag;
|
extern bool g_blockEventsOnDrag;
|
||||||
extern bool g_blockEventsOnScroll;
|
extern bool g_blockEventsOnScroll;
|
||||||
extern wxCursor g_globalCursor;
|
extern wxCursor g_globalCursor;
|
||||||
|
@@ -45,8 +45,6 @@ extern bool g_isIdle;
|
|||||||
// globals
|
// globals
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
extern wxList wxPendingDelete;
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// "switch_page"
|
// "switch_page"
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
@@ -61,8 +61,6 @@ extern bool g_isIdle;
|
|||||||
// data
|
// data
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
extern wxList wxPendingDelete;
|
|
||||||
|
|
||||||
extern int g_openDialogs;
|
extern int g_openDialogs;
|
||||||
extern wxWindowGTK *g_delayedFocus;
|
extern wxWindowGTK *g_delayedFocus;
|
||||||
|
|
||||||
|
@@ -203,7 +203,6 @@
|
|||||||
// data
|
// data
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
extern wxList wxPendingDelete;
|
|
||||||
extern bool g_blockEventsOnDrag;
|
extern bool g_blockEventsOnDrag;
|
||||||
extern bool g_blockEventsOnScroll;
|
extern bool g_blockEventsOnScroll;
|
||||||
extern wxCursor g_globalCursor;
|
extern wxCursor g_globalCursor;
|
||||||
|
@@ -67,8 +67,6 @@
|
|||||||
# include <Devices.h>
|
# include <Devices.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern wxList wxPendingDelete;
|
|
||||||
|
|
||||||
#if wxUSE_THREADS
|
#if wxUSE_THREADS
|
||||||
extern size_t g_numberOfThreads;
|
extern size_t g_numberOfThreads;
|
||||||
#endif
|
#endif
|
||||||
|
@@ -27,8 +27,6 @@
|
|||||||
// for modal dialogs
|
// for modal dialogs
|
||||||
wxList wxModalDialogs;
|
wxList wxModalDialogs;
|
||||||
|
|
||||||
extern wxList wxPendingDelete;
|
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxDialog, wxTopLevelWindow)
|
IMPLEMENT_DYNAMIC_CLASS(wxDialog, wxTopLevelWindow)
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(wxDialog, wxDialogBase)
|
BEGIN_EVENT_TABLE(wxDialog, wxDialogBase)
|
||||||
|
@@ -28,7 +28,6 @@
|
|||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
extern wxWindowList wxModelessWindows;
|
extern wxWindowList wxModelessWindows;
|
||||||
//extern wxList wxPendingDelete;
|
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(wxFrame, wxFrameBase)
|
BEGIN_EVENT_TABLE(wxFrame, wxFrameBase)
|
||||||
EVT_ACTIVATE(wxFrame::OnActivate)
|
EVT_ACTIVATE(wxFrame::OnActivate)
|
||||||
|
@@ -68,8 +68,6 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
extern wxList wxPendingDelete;
|
|
||||||
|
|
||||||
#ifdef __WXUNIVERSAL__
|
#ifdef __WXUNIVERSAL__
|
||||||
IMPLEMENT_ABSTRACT_CLASS(wxWindowMac, wxWindowBase)
|
IMPLEMENT_ABSTRACT_CLASS(wxWindowMac, wxWindowBase)
|
||||||
#else
|
#else
|
||||||
|
@@ -25,8 +25,6 @@
|
|||||||
// Lists to keep track of windows, so we can disable/enable them
|
// Lists to keep track of windows, so we can disable/enable them
|
||||||
// for modal dialogs
|
// for modal dialogs
|
||||||
wxList wxModalDialogs;
|
wxList wxModalDialogs;
|
||||||
//wxList wxModelessWindows; // Frames and modeless dialogs
|
|
||||||
extern wxList wxPendingDelete;
|
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxDialog, wxTopLevelWindow)
|
IMPLEMENT_DYNAMIC_CLASS(wxDialog, wxTopLevelWindow)
|
||||||
|
|
||||||
|
@@ -28,7 +28,6 @@
|
|||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
extern wxWindowList wxModelessWindows;
|
extern wxWindowList wxModelessWindows;
|
||||||
extern wxList wxPendingDelete;
|
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(wxFrame, wxFrameBase)
|
BEGIN_EVENT_TABLE(wxFrame, wxFrameBase)
|
||||||
EVT_ACTIVATE(wxFrame::OnActivate)
|
EVT_ACTIVATE(wxFrame::OnActivate)
|
||||||
|
@@ -60,7 +60,6 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
extern wxList wxPendingDelete;
|
|
||||||
wxWindowMac* gFocusWindow = NULL ;
|
wxWindowMac* gFocusWindow = NULL ;
|
||||||
|
|
||||||
#ifdef __WXUNIVERSAL__
|
#ifdef __WXUNIVERSAL__
|
||||||
|
@@ -67,7 +67,6 @@ static void wxTLWidgetDestroyCallback(Widget w, XtPointer clientData,
|
|||||||
XtPointer ptr);
|
XtPointer ptr);
|
||||||
static WXWidget wxCreateTopLevelWidget( WXDisplay* display );
|
static WXWidget wxCreateTopLevelWidget( WXDisplay* display );
|
||||||
|
|
||||||
extern wxList wxPendingDelete;
|
|
||||||
extern bool wxAddIdleCallback();
|
extern bool wxAddIdleCallback();
|
||||||
|
|
||||||
wxHashTable *wxWidgetHashTable = NULL;
|
wxHashTable *wxWidgetHashTable = NULL;
|
||||||
|
@@ -66,7 +66,6 @@
|
|||||||
// for modal dialogs
|
// for modal dialogs
|
||||||
wxList wxModalDialogs;
|
wxList wxModalDialogs;
|
||||||
extern wxList wxModelessWindows; // Frames and modeless dialogs
|
extern wxList wxModelessWindows; // Frames and modeless dialogs
|
||||||
extern wxList wxPendingDelete;
|
|
||||||
|
|
||||||
#define wxUSE_INVISIBLE_RESIZE 1
|
#define wxUSE_INVISIBLE_RESIZE 1
|
||||||
|
|
||||||
|
@@ -88,7 +88,6 @@ static void wxFrameMapProc(Widget frameShell, XtPointer clientData,
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
extern wxList wxModelessWindows;
|
extern wxList wxModelessWindows;
|
||||||
extern wxList wxPendingDelete;
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxWin macros
|
// wxWin macros
|
||||||
|
@@ -109,8 +109,6 @@
|
|||||||
// global variables
|
// global variables
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
extern wxList WXDLLEXPORT wxPendingDelete;
|
|
||||||
|
|
||||||
#if !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
|
#if !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
|
||||||
extern void wxSetKeyboardHook(bool doIt);
|
extern void wxSetKeyboardHook(bool doIt);
|
||||||
#endif
|
#endif
|
||||||
|
@@ -81,8 +81,7 @@ extern "C" int _System bsdselect(int,
|
|||||||
// global variables
|
// global variables
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
extern wxChar* wxBuffer;
|
WXDLLEXPORT_DATA(wxChar*) wxBuffer;
|
||||||
extern wxList WXDLLEXPORT wxPendingDelete;
|
|
||||||
extern wxCursor* g_globalCursor;
|
extern wxCursor* g_globalCursor;
|
||||||
|
|
||||||
HAB vHabmain = NULLHANDLE;
|
HAB vHabmain = NULLHANDLE;
|
||||||
|
@@ -48,8 +48,6 @@
|
|||||||
// globals
|
// globals
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
extern wxList WXDLLEXPORT wxPendingDelete;
|
|
||||||
|
|
||||||
#if wxUSE_MENUS_NATIVE
|
#if wxUSE_MENUS_NATIVE
|
||||||
extern wxMenu *wxCurrentPopupMenu;
|
extern wxMenu *wxCurrentPopupMenu;
|
||||||
#endif
|
#endif
|
||||||
|
@@ -63,8 +63,6 @@
|
|||||||
// global variables
|
// global variables
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
extern wxList WXDLLEXPORT wxPendingDelete;
|
|
||||||
|
|
||||||
// NB: all "NoRedraw" classes must have the same names as the "normal" classes
|
// NB: all "NoRedraw" classes must have the same names as the "normal" classes
|
||||||
// with NR suffix - wxWindow::MSWCreate() supposes this
|
// with NR suffix - wxWindow::MSWCreate() supposes this
|
||||||
const wxChar *wxCanvasClassName = wxT("wxWindowClass");
|
const wxChar *wxCanvasClassName = wxT("wxWindowClass");
|
||||||
|
@@ -46,8 +46,6 @@
|
|||||||
// global data
|
// global data
|
||||||
//------------------------------------------------------------------------
|
//------------------------------------------------------------------------
|
||||||
|
|
||||||
extern wxList wxPendingDelete;
|
|
||||||
|
|
||||||
wxWindowHash *wxWidgetHashTable = NULL;
|
wxWindowHash *wxWidgetHashTable = NULL;
|
||||||
wxWindowHash *wxClientWidgetHashTable = NULL;
|
wxWindowHash *wxClientWidgetHashTable = NULL;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user