Various wxMotif changes including size optimisation and debugging operator fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -201,6 +201,10 @@ public:
|
||||
virtual void ChangeForegroundColour();
|
||||
virtual wxRect GetAvailableClientSize();
|
||||
|
||||
// Implementation: calculate the layout of the view rect
|
||||
// and resize the children if required
|
||||
bool RefreshLayout(bool force = TRUE);
|
||||
|
||||
protected:
|
||||
// common part of all ctors
|
||||
void Init();
|
||||
|
@@ -76,7 +76,7 @@
|
||||
// NOW MANDATORY: don't change.
|
||||
#define wxUSE_MEMORY_TRACING 1
|
||||
// If 1, enables debugging versions of wxObject::new and
|
||||
// wxObject::delete *IF* WXDEBUG is also defined.
|
||||
// wxObject::delete *IF* __WXDEBUG__ is also defined.
|
||||
// WARNING: this code may not work with all architectures, especially
|
||||
// if alignment is an issue.
|
||||
#define wxUSE_DEBUG_CONTEXT 1
|
||||
@@ -88,11 +88,15 @@
|
||||
// since you may well need to output
|
||||
// an error log in a production
|
||||
// version (or non-debugging beta)
|
||||
#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
|
||||
|
||||
#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
|
||||
// In debug mode, cause new and delete to be redefined globally.
|
||||
// If this causes problems (e.g. link errors), set this to 0.
|
||||
// In wxMotif, causes an 'all bets are off'
|
||||
// memory error (generated by wxWindows)
|
||||
|
||||
#define wxUSE_DEBUG_NEW_ALWAYS 1
|
||||
// In debug mode, causes new to be defined to
|
||||
// be WXDEBUG_NEW (see object.h).
|
||||
// If this causes problems (e.g. link errors), set this to 0.
|
||||
|
||||
#define REMOVE_UNUSED_ARG 1
|
||||
// Set this to 0 if your compiler can't cope
|
||||
@@ -117,11 +121,8 @@
|
||||
#define wxUSE_GADGETS 0
|
||||
// Use gadgets where possible
|
||||
|
||||
#define wxUSE_MDI_WIDGETS 1
|
||||
// Use Scott Sadler's MDI widgets (buggy).
|
||||
// If 0, uses normal frames.
|
||||
|
||||
|
||||
#define wxUSE_TIMEDATE 1
|
||||
// Use time and date
|
||||
/*
|
||||
* Finer detail
|
||||
*
|
||||
|
@@ -75,6 +75,10 @@ class WXDLLEXPORT wxToolBar: public wxToolBarBase
|
||||
int FindIndexForWidget(WXWidget w);
|
||||
WXWidget FindWidgetForIndex(int index);
|
||||
|
||||
WXWidget GetTopWidget() const;
|
||||
WXWidget GetClientWidget() const;
|
||||
WXWidget GetMainWidget() const;
|
||||
|
||||
protected:
|
||||
// List of widgets in the toolbar, indexed by tool index
|
||||
wxList m_widgets;
|
||||
|
Reference in New Issue
Block a user