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:
Julian Smart
2002-03-07 18:48:03 +00:00
parent cd72551c2b
commit 1b21409b36
5 changed files with 13 additions and 9 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -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;

View File

@@ -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() )
{

View File

@@ -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() )
{