removed USE_SHARED_LIBRARY mentions (and all variations in spelling) (patch 1231184)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,9 +23,7 @@
|
|||||||
#import <AppKit/NSImage.h>
|
#import <AppKit/NSImage.h>
|
||||||
#include "wx/cocoa/string.h"
|
#include "wx/cocoa/string.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxBitmap)
|
IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxBitmap)
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef struct tagClassicCursor
|
typedef struct tagClassicCursor
|
||||||
{
|
{
|
||||||
|
@@ -19,9 +19,7 @@
|
|||||||
#include "wx/gdicmn.h"
|
#include "wx/gdicmn.h"
|
||||||
#include "wx/encinfo.h"
|
#include "wx/encinfo.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
|
||||||
#endif
|
|
||||||
|
|
||||||
void wxFontRefData::Init(int size, int family, int style, int weight, bool underlined, const wxString& faceName, wxFontEncoding encoding)
|
void wxFontRefData::Init(int size, int family, int style, int weight, bool underlined, const wxString& faceName, wxFontEncoding encoding)
|
||||||
{
|
{
|
||||||
|
@@ -15,8 +15,6 @@
|
|||||||
|
|
||||||
#include "wx/gdiobj.h"
|
#include "wx/gdiobj.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)
|
||||||
#endif
|
|
||||||
|
|
||||||
// TODO: Nothing to do, unless you want to.
|
// TODO: Nothing to do, unless you want to.
|
||||||
|
@@ -18,9 +18,7 @@
|
|||||||
#include "wx/accel.h"
|
#include "wx/accel.h"
|
||||||
#include "wx/string.h"
|
#include "wx/string.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxAcceleratorTable, wxObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxAcceleratorTable, wxObject)
|
||||||
#endif
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxAccelList: a list of wxAcceleratorEntries
|
// wxAccelList: a list of wxAcceleratorEntries
|
||||||
|
@@ -20,9 +20,7 @@
|
|||||||
|
|
||||||
#include "wx/mac/private.h"
|
#include "wx/mac/private.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxBrush, wxGDIObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxBrush, wxGDIObject)
|
||||||
#endif
|
|
||||||
|
|
||||||
class WXDLLEXPORT wxBrushRefData: public wxGDIRefData
|
class WXDLLEXPORT wxBrushRefData: public wxGDIRefData
|
||||||
{
|
{
|
||||||
|
@@ -32,9 +32,7 @@
|
|||||||
//Mac OSX 10.2+ only
|
//Mac OSX 10.2+ only
|
||||||
#if USE_NATIVE_FONT_DIALOG_FOR_MACOSX
|
#if USE_NATIVE_FONT_DIALOG_FOR_MACOSX
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxColourDialog, wxDialog)
|
IMPLEMENT_DYNAMIC_CLASS(wxColourDialog, wxDialog)
|
||||||
#endif
|
|
||||||
|
|
||||||
// Cocoa headers
|
// Cocoa headers
|
||||||
#include "wx/cocoa/autorelease.h"
|
#include "wx/cocoa/autorelease.h"
|
||||||
|
@@ -25,9 +25,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
|
||||||
#endif
|
|
||||||
|
|
||||||
// composite combobox implementation by Dan "Bud" Keith bud@otsys.com
|
// composite combobox implementation by Dan "Bud" Keith bud@otsys.com
|
||||||
|
|
||||||
|
@@ -23,9 +23,7 @@
|
|||||||
|
|
||||||
#include "wx/mac/private.h"
|
#include "wx/mac/private.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxBitmap)
|
IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxBitmap)
|
||||||
#endif
|
|
||||||
|
|
||||||
class WXDLLEXPORT wxCursorRefData: public wxBitmapRefData
|
class WXDLLEXPORT wxCursorRefData: public wxBitmapRefData
|
||||||
{
|
{
|
||||||
|
@@ -10,18 +10,3 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "wx/wxprec.h"
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#include "wx/event.h"
|
|
||||||
|
|
||||||
#if wxUSE_SHARED_LIBRARY
|
|
||||||
///// Event tables (also must be in one, statically-linked file for shared libraries)
|
|
||||||
|
|
||||||
// This is the base, wxEvtHandler 'bootstrap' code which is expanded manually here
|
|
||||||
const wxEventTable *wxEvtHandler::GetEventTable() const { return &wxEvtHandler::sm_eventTable; }
|
|
||||||
|
|
||||||
const wxEventTable wxEvtHandler::sm_eventTable =
|
|
||||||
{ NULL, &wxEvtHandler::sm_eventTableEntries[0] };
|
|
||||||
|
|
||||||
const wxEventTableEntry wxEvtHandler::sm_eventTableEntries[] = { { 0, 0, 0, NULL } };
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
@@ -28,9 +28,7 @@
|
|||||||
#include <ATSUnicode.h>
|
#include <ATSUnicode.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
|
||||||
#endif
|
|
||||||
|
|
||||||
class WXDLLEXPORT wxFontRefData: public wxGDIRefData
|
class WXDLLEXPORT wxFontRefData: public wxGDIRefData
|
||||||
{
|
{
|
||||||
|
@@ -29,9 +29,7 @@
|
|||||||
//Mac OSX 10.2+ only
|
//Mac OSX 10.2+ only
|
||||||
#if USE_NATIVE_FONT_DIALOG_FOR_MACOSX
|
#if USE_NATIVE_FONT_DIALOG_FOR_MACOSX
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog)
|
IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog)
|
||||||
#endif
|
|
||||||
|
|
||||||
// Cocoa headers
|
// Cocoa headers
|
||||||
#include "wx/cocoa/autorelease.h"
|
#include "wx/cocoa/autorelease.h"
|
||||||
|
@@ -17,8 +17,6 @@
|
|||||||
|
|
||||||
#include "wx/gdiobj.h"
|
#include "wx/gdiobj.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)
|
||||||
#endif
|
|
||||||
|
|
||||||
// TODO: Nothing to do, unless you want to.
|
// TODO: Nothing to do, unless you want to.
|
||||||
|
@@ -19,9 +19,7 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController, wxHelpControllerBase)
|
IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController, wxHelpControllerBase)
|
||||||
#endif
|
|
||||||
|
|
||||||
wxXXXXHelpController::wxXXXXHelpController()
|
wxXXXXHelpController::wxXXXXHelpController()
|
||||||
{
|
{
|
||||||
|
@@ -17,9 +17,7 @@
|
|||||||
|
|
||||||
#include "wx/icon.h"
|
#include "wx/icon.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxBitmap)
|
IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxBitmap)
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/image.h"
|
#include "wx/image.h"
|
||||||
#include "wx/mac/private.h"
|
#include "wx/mac/private.h"
|
||||||
|
@@ -27,7 +27,6 @@
|
|||||||
|
|
||||||
#include "wx/utils.h"
|
#include "wx/utils.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControl)
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(wxListBox, wxControl)
|
BEGIN_EVENT_TABLE(wxListBox, wxControl)
|
||||||
@@ -36,7 +35,6 @@ BEGIN_EVENT_TABLE(wxListBox, wxControl)
|
|||||||
EVT_CHAR( wxListBox::OnChar )
|
EVT_CHAR( wxListBox::OnChar )
|
||||||
#endif
|
#endif
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
|
@@ -19,9 +19,7 @@
|
|||||||
|
|
||||||
#include "wx/palette.h"
|
#include "wx/palette.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxPalette, wxGDIObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxPalette, wxGDIObject)
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Palette
|
* Palette
|
||||||
|
@@ -18,9 +18,7 @@
|
|||||||
#include "wx/utils.h"
|
#include "wx/utils.h"
|
||||||
#include "wx/pen.h"
|
#include "wx/pen.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxPen, wxGDIObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxPen, wxGDIObject)
|
||||||
#endif
|
|
||||||
|
|
||||||
wxPenRefData::wxPenRefData()
|
wxPenRefData::wxPenRefData()
|
||||||
{
|
{
|
||||||
|
@@ -19,12 +19,9 @@
|
|||||||
#include "wx/treebase.h"
|
#include "wx/treebase.h"
|
||||||
#include "wx/stubs/treectrl.h"
|
#include "wx/stubs/treectrl.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxTreeCtrl, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxTreeCtrl, wxControl)
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxTreeItem, wxObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxTreeItem, wxObject)
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
wxTreeCtrl::wxTreeCtrl()
|
wxTreeCtrl::wxTreeCtrl()
|
||||||
{
|
{
|
||||||
m_imageListNormal = NULL;
|
m_imageListNormal = NULL;
|
||||||
|
@@ -17,9 +17,7 @@
|
|||||||
#include "wx/accel.h"
|
#include "wx/accel.h"
|
||||||
#include "wx/string.h"
|
#include "wx/string.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxAcceleratorTable, wxObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxAcceleratorTable, wxObject)
|
||||||
#endif
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxAccelList: a list of wxAcceleratorEntries
|
// wxAccelList: a list of wxAcceleratorEntries
|
||||||
|
@@ -85,15 +85,12 @@ static EventTime sleepTime = kEventDurationNoWait ;
|
|||||||
static long sleepTime = 0 ;
|
static long sleepTime = 0 ;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxApp, wxEvtHandler)
|
IMPLEMENT_DYNAMIC_CLASS(wxApp, wxEvtHandler)
|
||||||
BEGIN_EVENT_TABLE(wxApp, wxEvtHandler)
|
BEGIN_EVENT_TABLE(wxApp, wxEvtHandler)
|
||||||
EVT_IDLE(wxApp::OnIdle)
|
EVT_IDLE(wxApp::OnIdle)
|
||||||
EVT_END_SESSION(wxApp::OnEndSession)
|
EVT_END_SESSION(wxApp::OnEndSession)
|
||||||
EVT_QUERY_END_SESSION(wxApp::OnQueryEndSession)
|
EVT_QUERY_END_SESSION(wxApp::OnQueryEndSession)
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
const short kMacMinHeap = (29 * 1024) ;
|
const short kMacMinHeap = (29 * 1024) ;
|
||||||
// platform specific static variables
|
// platform specific static variables
|
||||||
|
@@ -16,9 +16,7 @@
|
|||||||
#include "wx/window.h"
|
#include "wx/window.h"
|
||||||
#include "wx/bmpbuttn.h"
|
#include "wx/bmpbuttn.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)
|
IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
#include "wx/bitmap.h"
|
#include "wx/bitmap.h"
|
||||||
|
@@ -19,9 +19,7 @@
|
|||||||
|
|
||||||
#include "wx/mac/private.h"
|
#include "wx/mac/private.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxBrush, wxGDIObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxBrush, wxGDIObject)
|
||||||
#endif
|
|
||||||
|
|
||||||
class WXDLLEXPORT wxBrushRefData: public wxGDIRefData
|
class WXDLLEXPORT wxBrushRefData: public wxGDIRefData
|
||||||
{
|
{
|
||||||
|
@@ -19,9 +19,7 @@
|
|||||||
#include "wx/panel.h"
|
#include "wx/panel.h"
|
||||||
#include "wx/stockitem.h"
|
#include "wx/stockitem.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl)
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
// Button
|
// Button
|
||||||
|
@@ -17,10 +17,8 @@
|
|||||||
|
|
||||||
#include "wx/checkbox.h"
|
#include "wx/checkbox.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl)
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxBitmapCheckBox, wxCheckBox)
|
IMPLEMENT_DYNAMIC_CLASS(wxBitmapCheckBox, wxCheckBox)
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
|
@@ -21,9 +21,7 @@
|
|||||||
#include "wx/menu.h"
|
#include "wx/menu.h"
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControl)
|
||||||
#endif
|
|
||||||
|
|
||||||
extern MenuHandle NewUniqueMenu() ;
|
extern MenuHandle NewUniqueMenu() ;
|
||||||
|
|
||||||
|
@@ -16,9 +16,7 @@
|
|||||||
|
|
||||||
#include "wx/mac/colordlg.h"
|
#include "wx/mac/colordlg.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxColourDialog, wxDialog)
|
IMPLEMENT_DYNAMIC_CLASS(wxColourDialog, wxDialog)
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/mac/private.h"
|
#include "wx/mac/private.h"
|
||||||
#ifndef __DARWIN__
|
#ifndef __DARWIN__
|
||||||
|
@@ -16,9 +16,7 @@
|
|||||||
#include "wx/gdicmn.h"
|
#include "wx/gdicmn.h"
|
||||||
#include "wx/colour.h"
|
#include "wx/colour.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxColour, wxObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxColour, wxObject)
|
||||||
#endif
|
|
||||||
|
|
||||||
// Colour
|
// Colour
|
||||||
|
|
||||||
|
@@ -18,9 +18,7 @@
|
|||||||
#include "wx/menu.h"
|
#include "wx/menu.h"
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
|
||||||
#endif
|
|
||||||
|
|
||||||
// composite combobox implementation by Dan "Bud" Keith bud@otsys.com
|
// composite combobox implementation by Dan "Bud" Keith bud@otsys.com
|
||||||
|
|
||||||
|
@@ -31,14 +31,12 @@
|
|||||||
#include "wx/sizer.h"
|
#include "wx/sizer.h"
|
||||||
#include "wx/stattext.h"
|
#include "wx/stattext.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_ABSTRACT_CLASS(wxControl, wxWindow)
|
IMPLEMENT_ABSTRACT_CLASS(wxControl, wxWindow)
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(wxControl, wxWindow)
|
BEGIN_EVENT_TABLE(wxControl, wxWindow)
|
||||||
EVT_MOUSE_EVENTS( wxControl::OnMouseEvent )
|
EVT_MOUSE_EVENTS( wxControl::OnMouseEvent )
|
||||||
EVT_PAINT( wxControl::OnPaint )
|
EVT_PAINT( wxControl::OnPaint )
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
#include "wx/mac/private.h"
|
#include "wx/mac/private.h"
|
||||||
|
@@ -23,9 +23,7 @@
|
|||||||
|
|
||||||
#include "wx/mac/private.h"
|
#include "wx/mac/private.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxBitmap)
|
IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxBitmap)
|
||||||
#endif
|
|
||||||
|
|
||||||
const short kwxCursorBullseye = 10 ;
|
const short kwxCursorBullseye = 10 ;
|
||||||
const short kwxCursorBlank = 11 ;
|
const short kwxCursorBlank = 11 ;
|
||||||
|
@@ -10,16 +10,3 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "wx/event.h"
|
#include "wx/event.h"
|
||||||
|
|
||||||
#if wxUSE_SHARED_LIBRARY
|
|
||||||
///// Event tables (also must be in one, statically-linked file for shared libraries)
|
|
||||||
|
|
||||||
// This is the base, wxEvtHandler 'bootstrap' code which is expanded manually here
|
|
||||||
const wxEventTable *wxEvtHandler::GetEventTable() const { return &wxEvtHandler::sm_eventTable; }
|
|
||||||
|
|
||||||
const wxEventTable wxEvtHandler::sm_eventTable =
|
|
||||||
{ NULL, &wxEvtHandler::sm_eventTableEntries[0] };
|
|
||||||
|
|
||||||
const wxEventTableEntry wxEvtHandler::sm_eventTableEntries[] = { { 0, 0, 0, NULL } };
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
@@ -32,9 +32,8 @@ using namespace std ;
|
|||||||
#include <TextCommon.h>
|
#include <TextCommon.h>
|
||||||
#include <TextEncodingConverter.h>
|
#include <TextEncodingConverter.h>
|
||||||
#include <FixMath.h>
|
#include <FixMath.h>
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_ABSTRACT_CLASS(wxDC, wxObject)
|
IMPLEMENT_ABSTRACT_CLASS(wxDC, wxObject)
|
||||||
#endif
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// constants
|
// constants
|
||||||
|
@@ -31,11 +31,9 @@
|
|||||||
// wxPaintDC
|
// wxPaintDC
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxWindowDC, wxDC)
|
IMPLEMENT_DYNAMIC_CLASS(wxWindowDC, wxDC)
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxClientDC, wxWindowDC)
|
IMPLEMENT_DYNAMIC_CLASS(wxClientDC, wxWindowDC)
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxPaintDC, wxWindowDC)
|
IMPLEMENT_DYNAMIC_CLASS(wxPaintDC, wxWindowDC)
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* wxWindowDC
|
* wxWindowDC
|
||||||
|
@@ -29,9 +29,7 @@
|
|||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
#include "wx/mac/private/print.h"
|
#include "wx/mac/private/print.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_CLASS(wxPrinterDC, wxDC)
|
IMPLEMENT_CLASS(wxPrinterDC, wxDC)
|
||||||
#endif
|
|
||||||
|
|
||||||
class wxNativePrinterDC
|
class wxNativePrinterDC
|
||||||
{
|
{
|
||||||
|
@@ -16,9 +16,7 @@
|
|||||||
#include "wx/dcscreen.h"
|
#include "wx/dcscreen.h"
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxWindowDC)
|
IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxWindowDC)
|
||||||
#endif
|
|
||||||
|
|
||||||
// Create a DC representing the whole screen
|
// Create a DC representing the whole screen
|
||||||
wxScreenDC::wxScreenDC()
|
wxScreenDC::wxScreenDC()
|
||||||
|
@@ -27,7 +27,6 @@ wxList wxModalDialogs;
|
|||||||
//wxList wxModelessWindows; // Frames and modeless dialogs
|
//wxList wxModelessWindows; // Frames and modeless dialogs
|
||||||
extern wxList wxPendingDelete;
|
extern wxList wxPendingDelete;
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxDialog, wxTopLevelWindow)
|
IMPLEMENT_DYNAMIC_CLASS(wxDialog, wxTopLevelWindow)
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(wxDialog, wxDialogBase)
|
BEGIN_EVENT_TABLE(wxDialog, wxDialogBase)
|
||||||
@@ -42,8 +41,6 @@ BEGIN_EVENT_TABLE(wxDialog, wxDialogBase)
|
|||||||
EVT_CLOSE(wxDialog::OnCloseWindow)
|
EVT_CLOSE(wxDialog::OnCloseWindow)
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void wxDialog::Init()
|
void wxDialog::Init()
|
||||||
{
|
{
|
||||||
m_isModalStyle = false;
|
m_isModalStyle = false;
|
||||||
|
@@ -28,9 +28,7 @@
|
|||||||
#include <Navigation.h>
|
#include <Navigation.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_CLASS(wxDirDialog, wxDialog)
|
IMPLEMENT_CLASS(wxDirDialog, wxDialog)
|
||||||
#endif
|
|
||||||
|
|
||||||
wxDirDialog::wxDirDialog(wxWindow *parent,
|
wxDirDialog::wxDirDialog(wxWindow *parent,
|
||||||
const wxString& message,
|
const wxString& message,
|
||||||
|
@@ -26,9 +26,7 @@
|
|||||||
#include "PLStringFuncs.h"
|
#include "PLStringFuncs.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_CLASS(wxFileDialog, wxFileDialogBase)
|
IMPLEMENT_CLASS(wxFileDialog, wxFileDialogBase)
|
||||||
#endif
|
|
||||||
|
|
||||||
// begin wxmac
|
// begin wxmac
|
||||||
|
|
||||||
|
@@ -25,9 +25,7 @@
|
|||||||
#include "wx/mac/private.h"
|
#include "wx/mac/private.h"
|
||||||
#include <ATSUnicode.h>
|
#include <ATSUnicode.h>
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
|
||||||
#endif
|
|
||||||
|
|
||||||
class WXDLLEXPORT wxFontRefData: public wxGDIRefData
|
class WXDLLEXPORT wxFontRefData: public wxGDIRefData
|
||||||
{
|
{
|
||||||
|
@@ -17,9 +17,7 @@
|
|||||||
#include "wx/mac/fontdlg.h"
|
#include "wx/mac/fontdlg.h"
|
||||||
#include "wx/cmndata.h"
|
#include "wx/cmndata.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog)
|
IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog)
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* wxFontDialog
|
* wxFontDialog
|
||||||
|
@@ -28,7 +28,6 @@
|
|||||||
extern wxWindowList wxModelessWindows;
|
extern wxWindowList wxModelessWindows;
|
||||||
extern wxList wxPendingDelete;
|
extern wxList wxPendingDelete;
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
BEGIN_EVENT_TABLE(wxFrame, wxFrameBase)
|
BEGIN_EVENT_TABLE(wxFrame, wxFrameBase)
|
||||||
EVT_ACTIVATE(wxFrame::OnActivate)
|
EVT_ACTIVATE(wxFrame::OnActivate)
|
||||||
// EVT_MENU_HIGHLIGHT_ALL(wxFrame::OnMenuHighlight)
|
// EVT_MENU_HIGHLIGHT_ALL(wxFrame::OnMenuHighlight)
|
||||||
@@ -38,7 +37,6 @@ BEGIN_EVENT_TABLE(wxFrame, wxFrameBase)
|
|||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow)
|
IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow)
|
||||||
#endif
|
|
||||||
|
|
||||||
#define WX_MAC_STATUSBAR_HEIGHT 15
|
#define WX_MAC_STATUSBAR_HEIGHT 15
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -15,9 +15,7 @@
|
|||||||
|
|
||||||
#include "wx/gauge.h"
|
#include "wx/gauge.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
|
@@ -15,8 +15,6 @@
|
|||||||
|
|
||||||
#include "wx/gdiobj.h"
|
#include "wx/gdiobj.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)
|
||||||
#endif
|
|
||||||
|
|
||||||
// TODO: Nothing to do, unless you want to.
|
// TODO: Nothing to do, unless you want to.
|
||||||
|
@@ -17,9 +17,7 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController, wxHelpControllerBase)
|
IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController, wxHelpControllerBase)
|
||||||
#endif
|
|
||||||
|
|
||||||
wxXXXXHelpController::wxXXXXHelpController()
|
wxXXXXHelpController::wxXXXXHelpController()
|
||||||
{
|
{
|
||||||
|
@@ -15,9 +15,7 @@
|
|||||||
|
|
||||||
#include "wx/icon.h"
|
#include "wx/icon.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxBitmap)
|
IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxBitmap)
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/mac/private.h"
|
#include "wx/mac/private.h"
|
||||||
|
|
||||||
|
@@ -23,14 +23,12 @@
|
|||||||
|
|
||||||
#include "wx/utils.h"
|
#include "wx/utils.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControl)
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(wxListBox, wxControl)
|
BEGIN_EVENT_TABLE(wxListBox, wxControl)
|
||||||
EVT_SIZE( wxListBox::OnSize )
|
EVT_SIZE( wxListBox::OnSize )
|
||||||
EVT_CHAR( wxListBox::OnChar )
|
EVT_CHAR( wxListBox::OnChar )
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
|
@@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
extern wxWindowList wxModelessWindows;
|
extern wxWindowList wxModelessWindows;
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxMDIParentFrame, wxFrame)
|
IMPLEMENT_DYNAMIC_CLASS(wxMDIParentFrame, wxFrame)
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxMDIChildFrame, wxFrame)
|
IMPLEMENT_DYNAMIC_CLASS(wxMDIChildFrame, wxFrame)
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxMDIClientWindow, wxWindow)
|
IMPLEMENT_DYNAMIC_CLASS(wxMDIClientWindow, wxWindow)
|
||||||
@@ -37,8 +36,6 @@ BEGIN_EVENT_TABLE(wxMDIClientWindow, wxWindow)
|
|||||||
EVT_SCROLL(wxMDIClientWindow::OnScroll)
|
EVT_SCROLL(wxMDIClientWindow::OnScroll)
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static const int IDM_WINDOWTILE = 4001;
|
static const int IDM_WINDOWTILE = 4001;
|
||||||
static const int IDM_WINDOWTILEHOR = 4001;
|
static const int IDM_WINDOWTILEHOR = 4001;
|
||||||
static const int IDM_WINDOWCASCADE = 4002;
|
static const int IDM_WINDOWCASCADE = 4002;
|
||||||
|
@@ -35,10 +35,8 @@
|
|||||||
// ----------------------
|
// ----------------------
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxMenu, wxEvtHandler)
|
IMPLEMENT_DYNAMIC_CLASS(wxMenu, wxEvtHandler)
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxMenuBar, wxEvtHandler)
|
IMPLEMENT_DYNAMIC_CLASS(wxMenuBar, wxEvtHandler)
|
||||||
#endif
|
|
||||||
|
|
||||||
// the (popup) menu title has this special id
|
// the (popup) menu title has this special id
|
||||||
static const int idMenuTitle = -2;
|
static const int idMenuTitle = -2;
|
||||||
|
@@ -26,9 +26,7 @@
|
|||||||
// dynamic classes implementation
|
// dynamic classes implementation
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
IMPLEMENT_DYNAMIC_CLASS(wxMenuItem, wxObject)
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxMenuItem, wxObject)
|
|
||||||
#endif //USE_SHARED_LIBRARY
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxMenuItem
|
// wxMenuItem
|
||||||
|
@@ -41,10 +41,8 @@
|
|||||||
|
|
||||||
extern bool wxClipboardIsOpen;
|
extern bool wxClipboardIsOpen;
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxMetafile, wxObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxMetafile, wxObject)
|
||||||
IMPLEMENT_ABSTRACT_CLASS(wxMetafileDC, wxDC)
|
IMPLEMENT_ABSTRACT_CLASS(wxMetafileDC, wxDC)
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Metafiles
|
* Metafiles
|
||||||
|
@@ -15,8 +15,4 @@
|
|||||||
|
|
||||||
#include "wx/minifram.h"
|
#include "wx/minifram.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxMiniFrame, wxFrame)
|
IMPLEMENT_DYNAMIC_CLASS(wxMiniFrame, wxFrame)
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -18,9 +18,7 @@
|
|||||||
#include "wx/intl.h"
|
#include "wx/intl.h"
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_CLASS(wxMessageDialog, wxDialog)
|
IMPLEMENT_CLASS(wxMessageDialog, wxDialog)
|
||||||
#endif
|
|
||||||
|
|
||||||
wxMessageDialog::wxMessageDialog(wxWindow *parent, const wxString& message, const wxString& caption,
|
wxMessageDialog::wxMessageDialog(wxWindow *parent, const wxString& message, const wxString& caption,
|
||||||
long style, const wxPoint& pos)
|
long style, const wxPoint& pos)
|
||||||
|
@@ -19,9 +19,7 @@
|
|||||||
|
|
||||||
#include "wx/palette.h"
|
#include "wx/palette.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxPalette, wxGDIObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxPalette, wxGDIObject)
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Palette
|
* Palette
|
||||||
|
@@ -17,9 +17,7 @@
|
|||||||
#include "wx/utils.h"
|
#include "wx/utils.h"
|
||||||
#include "wx/pen.h"
|
#include "wx/pen.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxPen, wxGDIObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxPen, wxGDIObject)
|
||||||
#endif
|
|
||||||
|
|
||||||
wxPenRefData::wxPenRefData()
|
wxPenRefData::wxPenRefData()
|
||||||
{
|
{
|
||||||
|
@@ -21,10 +21,8 @@
|
|||||||
|
|
||||||
// Use generic page setup dialog: use your own native one if one exists.
|
// Use generic page setup dialog: use your own native one if one exists.
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxPrintDialog, wxDialog)
|
IMPLEMENT_DYNAMIC_CLASS(wxPrintDialog, wxDialog)
|
||||||
IMPLEMENT_CLASS(wxPageSetupDialog, wxDialog)
|
IMPLEMENT_CLASS(wxPageSetupDialog, wxDialog)
|
||||||
#endif
|
|
||||||
|
|
||||||
wxPrintDialog::wxPrintDialog()
|
wxPrintDialog::wxPrintDialog()
|
||||||
{
|
{
|
||||||
|
@@ -42,10 +42,8 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxMacPrinter, wxPrinterBase)
|
IMPLEMENT_DYNAMIC_CLASS(wxMacPrinter, wxPrinterBase)
|
||||||
IMPLEMENT_CLASS(wxMacPrintPreview, wxPrintPreviewBase)
|
IMPLEMENT_CLASS(wxMacPrintPreview, wxPrintPreviewBase)
|
||||||
#endif
|
|
||||||
|
|
||||||
#if TARGET_CARBON
|
#if TARGET_CARBON
|
||||||
|
|
||||||
|
@@ -25,9 +25,7 @@
|
|||||||
#include "wx/radiobut.h"
|
#include "wx/radiobut.h"
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxRadioBox, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxRadioBox, wxControl)
|
||||||
#endif
|
|
||||||
|
|
||||||
//-------------------------------------------------------------------------------------
|
//-------------------------------------------------------------------------------------
|
||||||
// <20> wxRadioBox()
|
// <20> wxRadioBox()
|
||||||
|
@@ -17,9 +17,7 @@
|
|||||||
|
|
||||||
#include "wx/radiobut.h"
|
#include "wx/radiobut.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
|
@@ -16,10 +16,8 @@
|
|||||||
#include "wx/gdicmn.h"
|
#include "wx/gdicmn.h"
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
IMPLEMENT_DYNAMIC_CLASS(wxRegion, wxGDIObject)
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxRegion, wxGDIObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxRegionIterator, wxObject)
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxRegionIterator, wxObject)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// wxRegionRefData implementation
|
// wxRegionRefData implementation
|
||||||
|
@@ -23,14 +23,11 @@
|
|||||||
#include "wx/scrolbar.h"
|
#include "wx/scrolbar.h"
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl)
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(wxScrollBar, wxControl)
|
BEGIN_EVENT_TABLE(wxScrollBar, wxControl)
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern ControlActionUPP wxMacLiveScrollbarActionUPP ;
|
extern ControlActionUPP wxMacLiveScrollbarActionUPP ;
|
||||||
|
|
||||||
// Scrollbar
|
// Scrollbar
|
||||||
|
@@ -20,12 +20,10 @@
|
|||||||
#include "wx/slider.h"
|
#include "wx/slider.h"
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxSlider, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxSlider, wxControl)
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(wxSlider, wxControl)
|
BEGIN_EVENT_TABLE(wxSlider, wxControl)
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
#endif
|
|
||||||
|
|
||||||
// The dimensions of the different styles of sliders (From Aqua document)
|
// The dimensions of the different styles of sliders (From Aqua document)
|
||||||
#define wxSLIDER_DIMENSIONACROSS 15
|
#define wxSLIDER_DIMENSIONACROSS 15
|
||||||
|
@@ -29,10 +29,8 @@
|
|||||||
// wxWin macros
|
// wxWin macros
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
IMPLEMENT_DYNAMIC_CLASS(wxSpinButton, wxControl)
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxSpinButton, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxScrollEvent)
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxScrollEvent)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
wxSpinButton::wxSpinButton()
|
wxSpinButton::wxSpinButton()
|
||||||
: wxSpinButtonBase()
|
: wxSpinButtonBase()
|
||||||
|
@@ -18,9 +18,7 @@
|
|||||||
#include "wx/statbmp.h"
|
#include "wx/statbmp.h"
|
||||||
#include "wx/dcclient.h"
|
#include "wx/dcclient.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* wxStaticBitmap
|
* wxStaticBitmap
|
||||||
|
@@ -18,15 +18,12 @@
|
|||||||
#include "wx/statbox.h"
|
#include "wx/statbox.h"
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(wxStaticBox, wxControl)
|
BEGIN_EVENT_TABLE(wxStaticBox, wxControl)
|
||||||
EVT_ERASE_BACKGROUND(wxStaticBox::OnEraseBackground)
|
EVT_ERASE_BACKGROUND(wxStaticBox::OnEraseBackground)
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Static box
|
* Static box
|
||||||
*/
|
*/
|
||||||
|
@@ -24,9 +24,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxStaticText, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxStaticText, wxControl)
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
|
@@ -19,12 +19,10 @@
|
|||||||
#include "wx/tabctrl.h"
|
#include "wx/tabctrl.h"
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxTabCtrl, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxTabCtrl, wxControl)
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(wxTabCtrl, wxControl)
|
BEGIN_EVENT_TABLE(wxTabCtrl, wxControl)
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
#endif
|
|
||||||
|
|
||||||
wxTabCtrl::wxTabCtrl()
|
wxTabCtrl::wxTabCtrl()
|
||||||
{
|
{
|
||||||
|
@@ -637,7 +637,6 @@ OSStatus mUPOpenControl(ControlHandle theControl, long wxStyle )
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxControl)
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(wxTextCtrl, wxControl)
|
BEGIN_EVENT_TABLE(wxTextCtrl, wxControl)
|
||||||
@@ -655,7 +654,6 @@ BEGIN_EVENT_TABLE(wxTextCtrl, wxControl)
|
|||||||
EVT_UPDATE_UI(wxID_UNDO, wxTextCtrl::OnUpdateUndo)
|
EVT_UPDATE_UI(wxID_UNDO, wxTextCtrl::OnUpdateUndo)
|
||||||
EVT_UPDATE_UI(wxID_REDO, wxTextCtrl::OnUpdateRedo)
|
EVT_UPDATE_UI(wxID_REDO, wxTextCtrl::OnUpdateRedo)
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
#endif
|
|
||||||
|
|
||||||
static void SetTXNData( TXNObject txn , const wxString& st , TXNOffset start , TXNOffset end )
|
static void SetTXNData( TXNObject txn , const wxString& st , TXNOffset start , TXNOffset end )
|
||||||
{
|
{
|
||||||
|
@@ -15,9 +15,7 @@
|
|||||||
|
|
||||||
#include "wx/timer.h"
|
#include "wx/timer.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_ABSTRACT_CLASS(wxTimer, wxEvtHandler)
|
IMPLEMENT_ABSTRACT_CLASS(wxTimer, wxEvtHandler)
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
#include "wx/mac/private.h"
|
#include "wx/mac/private.h"
|
||||||
|
@@ -22,14 +22,12 @@
|
|||||||
#include "wx/tabctrl.h"
|
#include "wx/tabctrl.h"
|
||||||
#include "wx/bitmap.h"
|
#include "wx/bitmap.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl)
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(wxToolBar, wxToolBarBase)
|
BEGIN_EVENT_TABLE(wxToolBar, wxToolBarBase)
|
||||||
EVT_MOUSE_EVENTS( wxToolBar::OnMouse )
|
EVT_MOUSE_EVENTS( wxToolBar::OnMouse )
|
||||||
EVT_PAINT( wxToolBar::OnPaint )
|
EVT_PAINT( wxToolBar::OnPaint )
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/mac/uma.h"
|
#include "wx/mac/uma.h"
|
||||||
#include "wx/geometry.h"
|
#include "wx/geometry.h"
|
||||||
|
@@ -17,12 +17,9 @@
|
|||||||
#include "wx/treebase.h"
|
#include "wx/treebase.h"
|
||||||
#include "wx/stubs/treectrl.h"
|
#include "wx/stubs/treectrl.h"
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxTreeCtrl, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxTreeCtrl, wxControl)
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxTreeItem, wxObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxTreeItem, wxObject)
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
wxTreeCtrl::wxTreeCtrl()
|
wxTreeCtrl::wxTreeCtrl()
|
||||||
{
|
{
|
||||||
m_imageListNormal = NULL;
|
m_imageListNormal = NULL;
|
||||||
|
@@ -68,8 +68,6 @@ wxWindowMac* gFocusWindow = NULL ;
|
|||||||
IMPLEMENT_DYNAMIC_CLASS(wxWindow, wxWindowBase)
|
IMPLEMENT_DYNAMIC_CLASS(wxWindow, wxWindowBase)
|
||||||
#endif // __WXUNIVERSAL__/__WXMAC__
|
#endif // __WXUNIVERSAL__/__WXMAC__
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(wxWindowMac, wxWindowBase)
|
BEGIN_EVENT_TABLE(wxWindowMac, wxWindowBase)
|
||||||
EVT_NC_PAINT(wxWindowMac::OnNcPaint)
|
EVT_NC_PAINT(wxWindowMac::OnNcPaint)
|
||||||
EVT_ERASE_BACKGROUND(wxWindowMac::OnEraseBackground)
|
EVT_ERASE_BACKGROUND(wxWindowMac::OnEraseBackground)
|
||||||
@@ -77,8 +75,6 @@ BEGIN_EVENT_TABLE(wxWindowMac, wxWindowBase)
|
|||||||
EVT_MOUSE_EVENTS(wxWindowMac::OnMouseEvent)
|
EVT_MOUSE_EVENTS(wxWindowMac::OnMouseEvent)
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define wxMAC_DEBUG_REDRAW 0
|
#define wxMAC_DEBUG_REDRAW 0
|
||||||
#ifndef wxMAC_DEBUG_REDRAW
|
#ifndef wxMAC_DEBUG_REDRAW
|
||||||
#define wxMAC_DEBUG_REDRAW 0
|
#define wxMAC_DEBUG_REDRAW 0
|
||||||
|
@@ -55,9 +55,7 @@
|
|||||||
// wxWin macros
|
// wxWin macros
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl)
|
||||||
#endif
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// private functions
|
// private functions
|
||||||
|
@@ -219,12 +219,10 @@ private:
|
|||||||
// wxWin macros
|
// wxWin macros
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARIES
|
IMPLEMENT_DYNAMIC_CLASS(wxBMPFileHandler, wxBitmapHandler)
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxBMPFileHandler, wxBitmapHandler)
|
IMPLEMENT_DYNAMIC_CLASS(wxBMPResourceHandler, wxBitmapHandler)
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxBMPResourceHandler, wxBitmapHandler)
|
IMPLEMENT_DYNAMIC_CLASS(wxICOFileHandler, wxObject)
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxICOFileHandler, wxObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxICOResourceHandler, wxObject)
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxICOResourceHandler, wxObject)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
// implementation
|
// implementation
|
||||||
|
Reference in New Issue
Block a user