USE_xxx constants renamed to wxUSE_xxx. This is an incompatible change, you
must recompile everything after upgrading! git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
#include "wx/menuitem.h"
|
||||
#include "wx/log.h"
|
||||
|
||||
#if USE_DRAG_AND_DROP
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
#include "wx/dnd.h"
|
||||
#endif
|
||||
|
||||
@@ -104,7 +104,7 @@ wxWindow::wxWindow()
|
||||
m_defaultForegroundColour = *wxBLACK ;
|
||||
m_defaultBackgroundColour = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE) ;
|
||||
|
||||
#if USE_DRAG_AND_DROP
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
m_pDropTarget = NULL;
|
||||
#endif
|
||||
|
||||
@@ -197,7 +197,7 @@ wxWindow::~wxWindow()
|
||||
// Have to delete constraints/sizer FIRST otherwise
|
||||
// sizers may try to look at deleted windows as they
|
||||
// delete themselves.
|
||||
#if USE_CONSTRAINTS
|
||||
#if wxUSE_CONSTRAINTS
|
||||
DeleteRelatedConstraints();
|
||||
if (m_constraints)
|
||||
{
|
||||
@@ -269,7 +269,7 @@ bool wxWindow::Create(wxWindow *parent, wxWindowID id,
|
||||
m_sizerParent = NULL;
|
||||
m_autoLayout = FALSE;
|
||||
m_windowValidator = NULL;
|
||||
#if USE_DRAG_AND_DROP
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
m_pDropTarget = NULL;
|
||||
#endif
|
||||
m_caretWidth = 0; m_caretHeight = 0;
|
||||
@@ -488,7 +488,7 @@ wxEvtHandler *wxWindow::PopEventHandler(bool deleteHandler)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#if USE_DRAG_AND_DROP
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
|
||||
void wxWindow::SetDropTarget(wxDropTarget *pDropTarget)
|
||||
{
|
||||
|
Reference in New Issue
Block a user