Corrections in light of recent toolbar and other changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -171,7 +171,7 @@ public:
|
||||
const wxString& deftopic = wxEmptyString,
|
||||
const wxString& path = wxEmptyString);
|
||||
|
||||
bool wxHtmlHelpData::AlreadyHasBook(wxHtmlBookRecord * bookr) ;
|
||||
bool AlreadyHasBook(wxHtmlBookRecord * bookr) ;
|
||||
// Some accessing stuff:
|
||||
|
||||
// returns URL of page on basis of (file)name
|
||||
|
@@ -796,7 +796,9 @@ wxApp::wxApp()
|
||||
m_topWindow = NULL;
|
||||
wxTheApp = this;
|
||||
|
||||
m_wantDebugOutput = TRUE ;
|
||||
#if WXWIN_COMPATIBILITY_2_2
|
||||
m_wantDebugOutput = TRUE;
|
||||
#endif
|
||||
|
||||
argc = 0;
|
||||
argv = NULL;
|
||||
|
@@ -796,7 +796,9 @@ wxApp::wxApp()
|
||||
m_topWindow = NULL;
|
||||
wxTheApp = this;
|
||||
|
||||
m_wantDebugOutput = TRUE ;
|
||||
#if WXWIN_COMPATIBILITY_2_2
|
||||
m_wantDebugOutput = TRUE;
|
||||
#endif
|
||||
|
||||
argc = 0;
|
||||
argv = NULL;
|
||||
|
@@ -200,7 +200,7 @@ bool wxToolBar::Realize()
|
||||
while (node)
|
||||
{
|
||||
wxToolBarTool *tool = (wxToolBarTool *)node->Data();
|
||||
wxBitmapRefData * bmap = (wxBitmapRefData*) ( tool->GetBitmap1().GetRefData()) ;
|
||||
wxBitmapRefData * bmap = (wxBitmapRefData*) ( tool->GetNormalBitmap().GetRefData()) ;
|
||||
|
||||
if( !tool->IsSeparator() )
|
||||
{
|
||||
@@ -210,7 +210,7 @@ bool wxToolBar::Realize()
|
||||
toolrect.bottom = toolrect.top + toolSize.y ;
|
||||
|
||||
ControlButtonContentInfo info ;
|
||||
wxMacCreateBitmapButton( &info , tool->GetBitmap1() ) ;
|
||||
wxMacCreateBitmapButton( &info , tool->GetNormalBitmap() ) ;
|
||||
ControlHandle m_macToolHandle ;
|
||||
|
||||
SInt16 behaviour = kControlBehaviorOffsetContents ;
|
||||
@@ -391,7 +391,7 @@ void wxToolBar::MacSuperChangedPosition()
|
||||
while (node)
|
||||
{
|
||||
wxToolBarTool *tool = (wxToolBarTool *)node->Data();
|
||||
wxBitmapRefData * bmap = (wxBitmapRefData*) ( tool->GetBitmap1().GetRefData()) ;
|
||||
wxBitmapRefData * bmap = (wxBitmapRefData*) ( tool->GetNormalBitmap().GetRefData()) ;
|
||||
|
||||
if( !tool->IsSeparator() )
|
||||
{
|
||||
|
@@ -200,7 +200,7 @@ bool wxToolBar::Realize()
|
||||
while (node)
|
||||
{
|
||||
wxToolBarTool *tool = (wxToolBarTool *)node->Data();
|
||||
wxBitmapRefData * bmap = (wxBitmapRefData*) ( tool->GetBitmap1().GetRefData()) ;
|
||||
wxBitmapRefData * bmap = (wxBitmapRefData*) ( tool->GetNormalBitmap().GetRefData()) ;
|
||||
|
||||
if( !tool->IsSeparator() )
|
||||
{
|
||||
@@ -210,7 +210,7 @@ bool wxToolBar::Realize()
|
||||
toolrect.bottom = toolrect.top + toolSize.y ;
|
||||
|
||||
ControlButtonContentInfo info ;
|
||||
wxMacCreateBitmapButton( &info , tool->GetBitmap1() ) ;
|
||||
wxMacCreateBitmapButton( &info , tool->GetNormalBitmap() ) ;
|
||||
ControlHandle m_macToolHandle ;
|
||||
|
||||
SInt16 behaviour = kControlBehaviorOffsetContents ;
|
||||
@@ -391,7 +391,7 @@ void wxToolBar::MacSuperChangedPosition()
|
||||
while (node)
|
||||
{
|
||||
wxToolBarTool *tool = (wxToolBarTool *)node->Data();
|
||||
wxBitmapRefData * bmap = (wxBitmapRefData*) ( tool->GetBitmap1().GetRefData()) ;
|
||||
wxBitmapRefData * bmap = (wxBitmapRefData*) ( tool->GetNormalBitmap().GetRefData()) ;
|
||||
|
||||
if( !tool->IsSeparator() )
|
||||
{
|
||||
|
Reference in New Issue
Block a user