Warning fixes from ABX

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-08-19 15:40:58 +00:00
parent 7945bfb41d
commit 196be0f137
25 changed files with 106 additions and 455 deletions

View File

@@ -3123,7 +3123,7 @@ bool wxResourceReadOneResourceString(char *s, wxExprDatabase& db, bool *eof, wxR
return TRUE; return TRUE;
} }
bool wxResourceParseString(const wxString& s, wxResourceTable *table) bool wxResourceParseString(const wxString& s, wxResourceTable *WXUNUSED(table))
{ {
#if wxUSE_UNICODE #if wxUSE_UNICODE
return wxResourceParseString( (char*)s.mb_str().data() ); return wxResourceParseString( (char*)s.mb_str().data() );

View File

@@ -121,16 +121,16 @@ void cbBarHintsPlugin::CreateBoxes()
} }
void cbBarHintsPlugin::Draw3DBox( wxDC& dc, const wxPoint& pos, bool pressed ) void cbBarHintsPlugin::Draw3DBox( wxDC& WXUNUSED(dc), const wxPoint& WXUNUSED(pos), bool WXUNUSED(pressed) )
{ {
} }
void cbBarHintsPlugin::DrawCloseBox( wxDC& dc, const wxPoint& pos, bool pressed ) void cbBarHintsPlugin::DrawCloseBox( wxDC& WXUNUSED(dc), const wxPoint& WXUNUSED(pos), bool WXUNUSED(pressed) )
{ {
} }
void cbBarHintsPlugin::DrawCollapseBox( wxDC& dc, const wxPoint& pos, void cbBarHintsPlugin::DrawCollapseBox( wxDC& WXUNUSED(dc), const wxPoint& WXUNUSED(pos),
bool atLeft, bool disabled, bool pressed ) bool WXUNUSED(atLeft), bool WXUNUSED(disabled), bool WXUNUSED(pressed) )
{ {
} }
@@ -200,7 +200,7 @@ void cbBarHintsPlugin::ExcludeHints( wxRect& rect, cbBarInfo& info )
} }
void cbBarHintsPlugin::DoDrawHint( wxDC& dc, wxRect& rect, void cbBarHintsPlugin::DoDrawHint( wxDC& dc, wxRect& rect,
int pos, int boxOfs, int grooveOfs, int pos, int WXUNUSED(boxOfs), int grooveOfs,
bool isFixed ) bool isFixed )
{ {
if ( !isFixed ) if ( !isFixed )
@@ -500,7 +500,7 @@ void cbBarHintsPlugin::OnLeftUp( cbLeftUpEvent& event )
GetHintsLayout( mpClickedBar->mBoundsInParent, *mpClickedBar, boxOfs, grooveOfs, pos ); GetHintsLayout( mpClickedBar->mBoundsInParent, *mpClickedBar, boxOfs, grooveOfs, pos );
int result = HitTestHints( *mpClickedBar, event.mPos ); HitTestHints( *mpClickedBar, event.mPos );
int i; int i;
for ( i = 0; i != BOXES_IN_HINT; ++i ) for ( i = 0; i != BOXES_IN_HINT; ++i )

View File

@@ -1473,7 +1473,7 @@ void wxFrameLayout::OnPaint( wxPaintEvent& event )
event.Skip(); event.Skip();
} }
void wxFrameLayout::OnEraseBackground( wxEraseEvent& event ) void wxFrameLayout::OnEraseBackground( wxEraseEvent& WXUNUSED(event) )
{ {
// do nothing // do nothing
} }
@@ -1496,18 +1496,18 @@ void wxFrameLayout::OnIdle( wxIdleEvent& event )
} }
void wxFrameLayout::OnKillFocus( wxFocusEvent& event ) void wxFrameLayout::OnKillFocus( wxFocusEvent& WXUNUSED(event) )
{ {
//wxMessageBox( "wxFrameLayoutGot Kill Focus!" ); //wxMessageBox( "wxFrameLayoutGot Kill Focus!" );
//ShowFloatedWindows( FALSE ); //ShowFloatedWindows( FALSE );
} }
void wxFrameLayout::OnSetFocus( wxFocusEvent& event ) void wxFrameLayout::OnSetFocus( wxFocusEvent& WXUNUSED(event) )
{ {
//ShowFloatedWindows( TRUE ); //ShowFloatedWindows( TRUE );
} }
void wxFrameLayout::OnActivate( wxActivateEvent& event ) void wxFrameLayout::OnActivate( wxActivateEvent& WXUNUSED(event) )
{ {
#if 0 #if 0
if ( event.GetActive() == FALSE ) if ( event.GetActive() == FALSE )
@@ -1622,7 +1622,7 @@ void wxFrameLayout::CaptureEventsForPlugin ( cbPluginBase* pPlugin )
} }
void wxFrameLayout::ReleaseEventsFromPlugin( cbPluginBase* pPlugin ) void wxFrameLayout::ReleaseEventsFromPlugin( cbPluginBase* WXUNUSED(pPlugin) )
{ {
// events should be captured first // events should be captured first
wxASSERT( mpCaputesInput != NULL ); wxASSERT( mpCaputesInput != NULL );
@@ -1640,7 +1640,7 @@ void wxFrameLayout::CaptureEventsForPane( cbDockPane* toPane )
mpPaneInFocus = toPane; mpPaneInFocus = toPane;
} }
void wxFrameLayout::ReleaseEventsFromPane( cbDockPane* fromPane ) void wxFrameLayout::ReleaseEventsFromPane( cbDockPane* WXUNUSED(fromPane) )
{ {
// cannot release events without capturing them // cannot release events without capturing them
wxASSERT( mpPaneInFocus != NULL ); wxASSERT( mpPaneInFocus != NULL );

View File

@@ -76,7 +76,7 @@ bool wxDynamicToolBar::Create(wxWindow *parent, const wxWindowID id,
const wxPoint& pos, const wxPoint& pos,
const wxSize& size, const wxSize& size,
const long style, const long style,
const int orientation, const int RowsOrColumns, const int WXUNUSED(orientation), const int WXUNUSED(RowsOrColumns),
const wxString& name) const wxString& name)
{ {
// cut&pasted from wxtbatsmpl.h // cut&pasted from wxtbatsmpl.h
@@ -109,7 +109,7 @@ wxDynamicToolBar::~wxDynamicToolBar(void)
void wxDynamicToolBar::AddTool( int toolIndex, void wxDynamicToolBar::AddTool( int toolIndex,
wxWindow* pToolWindow, wxWindow* pToolWindow,
const wxSize& size const wxSize& WXUNUSED(size)
) )
{ {
wxDynToolInfo* pInfo = new wxDynToolInfo(); wxDynToolInfo* pInfo = new wxDynToolInfo();
@@ -174,10 +174,10 @@ void wxDynamicToolBar::AddTool( int toolIndex, wxBitmap labelBmp,
wxToolBarToolBase* wxToolBarToolBase*
wxDynamicToolBar::AddTool(const int toolIndex, const wxBitmap& bitmap, wxDynamicToolBar::AddTool(const int toolIndex, const wxBitmap& bitmap,
const wxBitmap& pushedBitmap, const wxBitmap& WXUNUSED(pushedBitmap),
const bool toggle, const long xPos, const bool WXUNUSED(toggle), const long WXUNUSED(xPos),
const long yPos, wxObject *clientData, const long WXUNUSED(yPos), wxObject *WXUNUSED(clientData),
const wxString& helpString1, const wxString& helpString2) const wxString& helpString1, const wxString& WXUNUSED(helpString2))
{ {
wxNewBitmapButton* pBmpBtn = new wxNewBitmapButton( bitmap ); wxNewBitmapButton* pBmpBtn = new wxNewBitmapButton( bitmap );
@@ -269,12 +269,12 @@ void wxDynamicToolBar::AddSeparator( wxWindow* pSepartorWnd )
mTools.Add( pInfo ); mTools.Add( pInfo );
} }
void wxDynamicToolBar::OnEraseBackground( wxEraseEvent& event ) void wxDynamicToolBar::OnEraseBackground( wxEraseEvent& WXUNUSED(event) )
{ {
// FOR NOW:: nothing // FOR NOW:: nothing
} }
void wxDynamicToolBar::OnSize( wxSizeEvent& event ) void wxDynamicToolBar::OnSize( wxSizeEvent& WXUNUSED(event) )
{ {
//SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_3DFACE ) ); //SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_3DFACE ) );
@@ -310,7 +310,7 @@ void wxDynamicToolBar::DrawSeparator( wxDynToolInfo& info, wxDC& dc )
} }
} }
void wxDynamicToolBar::OnPaint( wxPaintEvent& event ) void wxDynamicToolBar::OnPaint( wxPaintEvent& WXUNUSED(event) )
{ {
// draw separators if any // draw separators if any
wxPaintDC dc(this); wxPaintDC dc(this);
@@ -569,39 +569,47 @@ void BagLayout::Layout( const wxSize& parentDim,
//////// stuff from 2.1.15 /////////// //////// stuff from 2.1.15 ///////////
wxToolBarToolBase* wxDynamicToolBar::FindToolForPosition( wxCoord x, wxCoord y ) const wxToolBarToolBase* wxDynamicToolBar::FindToolForPosition( wxCoord WXUNUSED(x), wxCoord WXUNUSED(y) ) const
{ {
return NULL; return NULL;
} }
bool wxDynamicToolBar::DoInsertTool( size_t pos, wxToolBarToolBase* tool ) bool wxDynamicToolBar::DoInsertTool( size_t WXUNUSED(pos), wxToolBarToolBase* WXUNUSED(tool) )
{ {
return TRUE; return TRUE;
} }
bool wxDynamicToolBar::DoDeleteTool( size_t pos, wxToolBarToolBase* tool ) bool wxDynamicToolBar::DoDeleteTool( size_t WXUNUSED(pos), wxToolBarToolBase* WXUNUSED(tool) )
{ {
return TRUE; return TRUE;
} }
void wxDynamicToolBar::DoEnableTool( wxToolBarToolBase* tool, bool enable ) void wxDynamicToolBar::DoEnableTool( wxToolBarToolBase* WXUNUSED(tool), bool WXUNUSED(enable) )
{ {
} }
void wxDynamicToolBar::DoToggleTool( wxToolBarToolBase* tool, bool toggle ) void wxDynamicToolBar::DoToggleTool( wxToolBarToolBase* WXUNUSED(tool), bool WXUNUSED(toggle) )
{ {
} }
void wxDynamicToolBar::DoSetToggle( wxToolBarToolBase* tool, bool toggle ) void wxDynamicToolBar::DoSetToggle( wxToolBarToolBase* WXUNUSED(tool), bool WXUNUSED(toggle) )
{ {
} }
wxToolBarToolBase* wxDynamicToolBar::CreateTool( int id, const wxString& label, const wxBitmap& bmpNormal, const wxBitmap& bmpDisabled, wxItemKind kind, wxObject *clientData, const wxString& shortHelp, const wxString& longHelp) wxToolBarToolBase* wxDynamicToolBar::CreateTool( int WXUNUSED(id),
const wxString& WXUNUSED(label),
const wxBitmap& WXUNUSED(bmpNormal),
const wxBitmap& WXUNUSED(bmpDisabled),
wxItemKind WXUNUSED(kind),
wxObject *WXUNUSED(clientData),
const wxString& WXUNUSED(shortHelp),
const wxString& WXUNUSED(longHelp)
)
{ {
return NULL; return NULL;
} }
wxToolBarToolBase* wxDynamicToolBar::CreateTool( wxControl* control ) wxToolBarToolBase* wxDynamicToolBar::CreateTool( wxControl* WXUNUSED(control) )
{ {
return NULL; return NULL;
} }

View File

@@ -29,7 +29,7 @@
IMPLEMENT_DYNAMIC_CLASS( cbDynToolBarDimHandler, cbBarDimHandlerBase ) IMPLEMENT_DYNAMIC_CLASS( cbDynToolBarDimHandler, cbBarDimHandlerBase )
void cbDynToolBarDimHandler::OnChangeBarState(cbBarInfo* pBar, int newState ) void cbDynToolBarDimHandler::OnChangeBarState(cbBarInfo* WXUNUSED(pBar), int WXUNUSED(newState) )
{ {
// nothing // nothing
} }

View File

@@ -153,7 +153,7 @@ void wxFrameViewSerializer::Serialize( wxObject* pObj, wxObjectStorage& store )
/***** Implementation for class wxFrameManager *****/ /***** Implementation for class wxFrameManager *****/
void wxFrameManager::DoSerialize( wxObjectStorage& store ) void wxFrameManager::DoSerialize( wxObjectStorage& WXUNUSED(store) )
{ {
#if 0 #if 0
store.AddInitialRef( mpFrameWnd ); store.AddInitialRef( mpFrameWnd );
@@ -293,7 +293,7 @@ void wxFrameManager::Init( wxWindow* pMainFrame, const wxString& settingsFile )
} }
} }
if ( mActiveViewNo >= mViews.GetCount() ) if ( mActiveViewNo >= (int)mViews.GetCount() )
mActiveViewNo = -1; mActiveViewNo = -1;
ActivateView( GetView( ( mActiveViewNo == -1 ) ? 0 : mActiveViewNo ) ); ActivateView( GetView( ( mActiveViewNo == -1 ) ? 0 : mActiveViewNo ) );
@@ -308,7 +308,7 @@ void wxFrameManager::AddView( wxFrameView* pFrmView )
pFrmView->mpFrameMgr = this; // back ref. pFrmView->mpFrameMgr = this; // back ref.
} }
void wxFrameManager::RemoveView( wxFrameView* pFrmView ) void wxFrameManager::RemoveView( wxFrameView* WXUNUSED(pFrmView) )
{ {
// TBD:: // TBD::
wxFAIL_MSG( _T("wxFrameManager::RemoveView() has not been implemented yet.") ); wxFAIL_MSG( _T("wxFrameManager::RemoveView() has not been implemented yet.") );

View File

@@ -140,7 +140,7 @@ void GarbageCollector::ResolveReferences()
} }
} }
void GarbageCollector::AddObject( void* pObj, int refCnt ) void GarbageCollector::AddObject( void* pObj, int WXUNUSED(refCnt) )
{ {
// FOR NOW:: initial ref-count is not used // FOR NOW:: initial ref-count is not used

View File

@@ -271,11 +271,11 @@ wxNewBitmapButton::wxNewBitmapButton( const wxString& bitmapFileName,
const wxString& labelText, const wxString& labelText,
int alignText, int alignText,
bool isFlat, bool isFlat,
int firedEventType, int WXUNUSED(firedEventType),
int marginX, int WXUNUSED(marginX),
int marginY, int WXUNUSED(marginY),
int textToLabelGap, int WXUNUSED(textToLabelGap),
bool isSticky) bool WXUNUSED(isSticky))
: mTextToLabelGap ( 2 ), : mTextToLabelGap ( 2 ),
mMarginX( 2 ), mMarginX( 2 ),
@@ -652,7 +652,7 @@ void wxNewBitmapButton::SetAlignments( int alignText,
// event handlers // event handlers
void wxNewBitmapButton::OnLButtonDown( wxMouseEvent& event ) void wxNewBitmapButton::OnLButtonDown( wxMouseEvent& WXUNUSED(event) )
{ {
mDragStarted = TRUE; mDragStarted = TRUE;
mIsPressed = TRUE; mIsPressed = TRUE;
@@ -687,7 +687,7 @@ bool wxNewBitmapButton::IsInWindow( int x, int y )
y < height ); y < height );
} }
void wxNewBitmapButton::OnMouseEnter( wxMouseEvent& event ) void wxNewBitmapButton::OnMouseEnter( wxMouseEvent& WXUNUSED(event) )
{ {
bool prevIsInFocus = mIsInFocus; bool prevIsInFocus = mIsInFocus;
@@ -701,7 +701,7 @@ void wxNewBitmapButton::OnMouseEnter( wxMouseEvent& event )
} }
} }
void wxNewBitmapButton::OnMouseLeave( wxMouseEvent& event ) void wxNewBitmapButton::OnMouseLeave( wxMouseEvent& WXUNUSED(event) )
{ {
bool prevIsInFocus = mIsInFocus; bool prevIsInFocus = mIsInFocus;
bool prevIsPressed = mIsPressed; bool prevIsPressed = mIsPressed;
@@ -716,7 +716,7 @@ void wxNewBitmapButton::OnMouseLeave( wxMouseEvent& event )
} }
} }
void wxNewBitmapButton::OnSize( wxSizeEvent& event ) void wxNewBitmapButton::OnSize( wxSizeEvent& WXUNUSED(event) )
{ {
//Reshape(); //Reshape();
} }
@@ -775,7 +775,7 @@ void wxNewBitmapButton::DrawLabel( wxDC& dc )
mdc.SelectObject( wxNullBitmap ); mdc.SelectObject( wxNullBitmap );
} }
void wxNewBitmapButton::OnPaint( wxPaintEvent& event ) void wxNewBitmapButton::OnPaint( wxPaintEvent& WXUNUSED(event) )
{ {
wxPaintDC dc(this); wxPaintDC dc(this);
@@ -787,12 +787,12 @@ void wxNewBitmapButton::OnPaint( wxPaintEvent& event )
DrawDecorations( dc ); DrawDecorations( dc );
} }
void wxNewBitmapButton::OnEraseBackground( wxEraseEvent& event ) void wxNewBitmapButton::OnEraseBackground( wxEraseEvent& WXUNUSED(event) )
{ {
// do nothing // do nothing
} }
void wxNewBitmapButton::OnKillFocus( wxFocusEvent& event ) void wxNewBitmapButton::OnKillFocus( wxFocusEvent& WXUNUSED(event) )
{ {
// useless // useless

View File

@@ -1276,7 +1276,7 @@ void cbPaneDrawPlugin::OnStartDrawInArea( cbStartDrawInAreaEvent& event )
event.mArea.width, event.mArea.height ); event.mArea.width, event.mArea.height );
} }
void cbPaneDrawPlugin::OnFinishDrawInArea( cbFinishDrawInAreaEvent& event ) void cbPaneDrawPlugin::OnFinishDrawInArea( cbFinishDrawInAreaEvent& WXUNUSED(event) )
{ {
// DBG:: // DBG::
wxASSERT( mpClntDc ); wxASSERT( mpClntDc );

View File

@@ -1409,7 +1409,7 @@ void cbRowDragPlugin::DrawRowDragHint( cbRowInfo* pRow , wxDC& dc, bool isHighli
} }
} }
void cbRowDragPlugin::DrawRowsDragHintsBorder( wxDC& dc ) void cbRowDragPlugin::DrawRowsDragHintsBorder( wxDC& WXUNUSED(dc) )
{ {
// FIXME:: what was that? // FIXME:: what was that?
} }

View File

@@ -120,9 +120,13 @@ void cbRowLayoutPlugin::ExpandNotFixedBars( cbRowInfo* pRow )
{ {
ApplyLengthRatios( pRow ); ApplyLengthRatios( pRow );
#if 1
// FIXME:: something's wrong? // FIXME:: something's wrong?
return; return;
#else
double freeSpc = (double)GetRowFreeSpace( pRow ); double freeSpc = (double)GetRowFreeSpace( pRow );
// calculate sum of precents // calculate sum of precents
@@ -156,15 +160,19 @@ void cbRowLayoutPlugin::ExpandNotFixedBars( cbRowInfo* pRow )
bar.mBounds.x = curX; bar.mBounds.x = curX;
curX = bar.mBounds.x + bar.mBounds.width; curX = bar.mBounds.x + bar.mBounds.width;
} }
#endif
} }
void cbRowLayoutPlugin::AdjustLengthOfInserted( cbRowInfo* pRow, cbBarInfo* pTheBar ) void cbRowLayoutPlugin::AdjustLengthOfInserted( cbRowInfo* WXUNUSED(pRow), cbBarInfo* WXUNUSED(pTheBar) )
{ {
return; // TBD: Makes following code unreachable return;
#if 0
// TBD: Makes following code unreachable
// pTheBar is not-fixed // pTheBar is not-fixed
// FIXME:: what is this for?? // FIXME:: what is this for??
#if 1 #if 1
@@ -203,6 +211,9 @@ void cbRowLayoutPlugin::AdjustLengthOfInserted( cbRowInfo* pRow, cbBarInfo* pThe
pTheBar->mBounds.width = freeSpc * (1.0 - pcntSum); pTheBar->mBounds.width = freeSpc * (1.0 - pcntSum);
#endif #endif
#endif
} }
void cbRowLayoutPlugin::FitBarsToRange( int from, int till, void cbRowLayoutPlugin::FitBarsToRange( int from, int till,
@@ -667,7 +678,7 @@ void cbRowLayoutPlugin::SlideRightSideBars( cbBarInfo* pTheBar )
} }
} }
void cbRowLayoutPlugin::ShiftLeftTrashold( cbBarInfo* pTheBar, cbRowInfo& row ) void cbRowLayoutPlugin::ShiftLeftTrashold( cbBarInfo* WXUNUSED(pTheBar), cbRowInfo& row )
{ {
wxRect& first = row.mBars[0]->mBounds; wxRect& first = row.mBars[0]->mBounds;

View File

@@ -157,7 +157,7 @@ void wxToolWindow::AddMiniButton( cbMiniButton* pBtn )
//LayoutMiniButtons(); //LayoutMiniButtons();
} }
void wxToolWindow::OnPaint( wxPaintEvent& event ) void wxToolWindow::OnPaint( wxPaintEvent& WXUNUSED(event) )
{ {
wxPaintDC pdc( this ); wxPaintDC pdc( this );
wxWindowDC dc( this ); wxWindowDC dc( this );
@@ -672,7 +672,7 @@ void wxToolWindow::OnLeftUp( wxMouseEvent& event )
} }
} }
void wxToolWindow::OnSize( wxSizeEvent& event ) void wxToolWindow::OnSize( wxSizeEvent& WXUNUSED(event) )
{ {
if ( mpClientWnd ) if ( mpClientWnd )
{ {
@@ -697,7 +697,7 @@ wxSize wxToolWindow::GetPreferredSize( const wxSize& given )
return given; return given;
} }
void wxToolWindow::OnEraseBackground( wxEraseEvent& event ) void wxToolWindow::OnEraseBackground( wxEraseEvent& WXUNUSED(event) )
{ {
// nothing // nothing
} }
@@ -755,7 +755,7 @@ void cbMiniButton::OnLeftDown( const wxPoint& pos )
} }
} }
void cbMiniButton::OnLeftUp( const wxPoint& pos ) void cbMiniButton::OnLeftUp( const wxPoint& WXUNUSED(pos) )
{ {
if ( !mVisible || !mDragStarted ) return; if ( !mVisible || !mDragStarted ) return;
@@ -1137,7 +1137,7 @@ bool cbFloatedBarWindow::HandleTitleClick( wxMouseEvent& event )
return TRUE; return TRUE;
} }
void cbFloatedBarWindow::OnDblClick( wxMouseEvent& event ) void cbFloatedBarWindow::OnDblClick( wxMouseEvent& WXUNUSED(event) )
{ {
mpLayout->SetBarState( mpBar, wxCBAR_DOCKED_HORIZONTALLY, TRUE ); mpLayout->SetBarState( mpBar, wxCBAR_DOCKED_HORIZONTALLY, TRUE );

View File

@@ -102,23 +102,23 @@ void cbSimpleUpdatesMgr::OnFinishChanges()
// nothing here, could be overriden by more sophisticated updates-managers // nothing here, could be overriden by more sophisticated updates-managers
} }
void cbSimpleUpdatesMgr::OnRowWillChange( cbRowInfo* pRow, cbDockPane* pInPane ) void cbSimpleUpdatesMgr::OnRowWillChange( cbRowInfo* WXUNUSED(pRow), cbDockPane* WXUNUSED(pInPane) )
{ {
// -/- // -/-
} }
void cbSimpleUpdatesMgr::OnBarWillChange( cbBarInfo* pBar, void cbSimpleUpdatesMgr::OnBarWillChange( cbBarInfo* WXUNUSED(pBar),
cbRowInfo* pInRow, cbDockPane* pInPane ) cbRowInfo* WXUNUSED(pInRow), cbDockPane* WXUNUSED(pInPane) )
{ {
// -/- // -/-
} }
void cbSimpleUpdatesMgr::OnPaneMarginsWillChange( cbDockPane* pPane ) void cbSimpleUpdatesMgr::OnPaneMarginsWillChange( cbDockPane* WXUNUSED(pPane) )
{ {
// -/- // -/-
} }
void cbSimpleUpdatesMgr::OnPaneWillChange( cbDockPane* pPane ) void cbSimpleUpdatesMgr::OnPaneWillChange( cbDockPane* WXUNUSED(pPane) )
{ {
// -/- // -/-
} }

View File

@@ -1,161 +0,0 @@
# Microsoft Developer Studio Project File - Name="wxRcVC" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Application" 0x0101
CFG=wxRcVC - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "wxRcVC.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "wxRcVC.mak" CFG="wxRcVC - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "wxRcVC - Win32 Release" (based on "Win32 (x86) Application")
!MESSAGE "wxRcVC - Win32 Debug" (based on "Win32 (x86) Application")
!MESSAGE "wxRcVC - Win32 Debug DLL" (based on "Win32 (x86) Application")
!MESSAGE "wxRcVC - Win32 Release DLL" (based on "Win32 (x86) Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "wxRcVC - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "..\..\include" /I "..\..\..\include" /I "../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
# SUBTRACT CPP /YX
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x809 /d "NDEBUG"
# ADD RSC /l 0x809 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib wxxrc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/wxrc.exe" /libpath:"..\..\..\lib"
!ELSEIF "$(CFG)" == "wxRcVC - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\include" /I "..\..\..\include" /I "../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
# SUBTRACT CPP /YX /Yc /Yu
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x809 /d "_DEBUG"
# ADD RSC /l 0x809 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib wxxrcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/wxrc.exe" /pdbtype:sept /libpath:"..\..\..\lib"
!ELSEIF "$(CFG)" == "wxRcVC - Win32 Debug DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "DebugDLL"
# PROP BASE Intermediate_Dir "DebugDLL"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "DebugDLL"
# PROP Intermediate_Dir "DebugDLL"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\include" /I "..\..\..\include" /I "../../../lib/mswdlld" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
# SUBTRACT CPP /YX
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x809 /d "_DEBUG"
# ADD RSC /l 0x809 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw250d.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/wxrc.exe" /pdbtype:sept /libpath:"..\..\..\lib"
!ELSEIF "$(CFG)" == "wxRcVC - Win32 Release DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "ReleaseDLL"
# PROP BASE Intermediate_Dir "ReleaseDLL"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "ReleaseDLL"
# PROP Intermediate_Dir "ReleaseDLL"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "..\..\include" /I "..\..\..\include" /I "../../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
# SUBTRACT CPP /YX
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x809 /d "NDEBUG"
# ADD RSC /l 0x809 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw250.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/wxrc.exe" /libpath:"..\..\..\lib"
!ENDIF
# Begin Target
# Name "wxRcVC - Win32 Release"
# Name "wxRcVC - Win32 Debug"
# Name "wxRcVC - Win32 Debug DLL"
# Name "wxRcVC - Win32 Release DLL"
# Begin Source File
SOURCE=.\wxrc.cpp
# End Source File
# Begin Source File
SOURCE=.\wxrc.rc
# ADD BASE RSC /l 0x809
# ADD RSC /l 0x809 /i "../../../include"
# End Source File
# End Target
# End Project

View File

@@ -1,29 +0,0 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "wxRcVC"=.\wxRcVC.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

View File

@@ -6,8 +6,10 @@
<exe id="wxrc" template="wx_util_console" template_append="wx_append"> <exe id="wxrc" template="wx_util_console" template_append="wx_append">
<sources>wxrc.cpp</sources> <sources>wxrc.cpp</sources>
<wx-lib>xrc</wx-lib>
<wx-lib>xml</wx-lib> <wx-lib>xml</wx-lib>
<wx-lib>base</wx-lib> <wx-lib>base</wx-lib>
<wx-lib>expat</wx-lib>
<install-to>$(BINDIR)</install-to> <install-to>$(BINDIR)</install-to>
</exe> </exe>

View File

@@ -154,6 +154,8 @@ Generic controls:
- implemented wxListCtrl::Refresh() (Norbert Berzen) - implemented wxListCtrl::Refresh() (Norbert Berzen)
- support adding/removing columns dynamically (Donald C. Taylor) - support adding/removing columns dynamically (Donald C. Taylor)
- wxToolBarSimple, property list classes, wxTreeLayout moved
to contrib/src/deprecated
wxGTK: wxGTK:

View File

@@ -9,7 +9,7 @@ wxWindows 2.5.0
*** may change in backwards incompatible way. If this doesn't frighten *** may change in backwards incompatible way. If this doesn't frighten
*** you, do try this release and please let us know what you think! *** you, do try this release and please let us know what you think!
Welcome to wxWindows 2, a sophisticated cross-platform C++ Welcome to wxWindows, a sophisticated cross-platform C++
framework for writing advanced GUI applications using (where framework for writing advanced GUI applications using (where
possible) the native controls. possible) the native controls.
@@ -211,5 +211,5 @@ web site.
Have fun! Have fun!
The wxWindows Team, November 2002 The wxWindows Team, August 2003

View File

@@ -3469,8 +3469,7 @@ const wxChar *wxDateTime::ParseDate(const wxChar *date)
mon = (wxDateTime::Month)(day - 1); mon = (wxDateTime::Month)(day - 1);
// we're in the current year then // we're in the current year then
if ( (year > 0) && if ( (year > 0) && (year <= (int)GetNumOfDaysInMonth(Inv_Year, mon)) )
(unsigned)year <= GetNumOfDaysInMonth(Inv_Year, mon) )
{ {
day = year; day = year;

View File

@@ -985,8 +985,8 @@ void wxGridSizer::RecalcSizes()
wxSize wxGridSizer::CalcMin() wxSize wxGridSizer::CalcMin()
{ {
int nitems, nrows, ncols; int nrows, ncols;
if ( (nitems = CalcRowsCols(nrows, ncols)) == 0 ) if ( CalcRowsCols(nrows, ncols) == 0 )
return wxSize(10, 10); return wxSize(10, 10);
// Find the max width and height for any component // Find the max width and height for any component

View File

@@ -1464,6 +1464,10 @@ GSocketError _GAddress_Init_UNIX(GAddress *address)
GSocketError GAddress_UNIX_SetPath(GAddress *address, const char *path) GSocketError GAddress_UNIX_SetPath(GAddress *address, const char *path)
{ {
#if defined(__BORLANDC__)
/* prevents unused variable message in Borland */
(void)path;
#endif
assert (address != NULL); assert (address != NULL);
address->m_error = GSOCK_INVADDR; address->m_error = GSOCK_INVADDR;
return GSOCK_INVADDR; return GSOCK_INVADDR;
@@ -1471,6 +1475,11 @@ GSocketError GAddress_UNIX_SetPath(GAddress *address, const char *path)
GSocketError GAddress_UNIX_GetPath(GAddress *address, char *path, size_t sbuf) GSocketError GAddress_UNIX_GetPath(GAddress *address, char *path, size_t sbuf)
{ {
#if defined(__BORLANDC__)
/* prevents unused variable message in Borland */
(void)path;
(void)sbuf;
#endif
assert (address != NULL); assert (address != NULL);
address->m_error = GSOCK_INVADDR; address->m_error = GSOCK_INVADDR;
return GSOCK_INVADDR; return GSOCK_INVADDR;

View File

@@ -74,15 +74,14 @@ bool wxWindow::LoadNativeDialog(wxWindow* parent, wxWindowID& id)
HWND hWndNext; HWND hWndNext;
hWndNext = ::GetWindow((HWND) m_hWnd, GW_CHILD); hWndNext = ::GetWindow((HWND) m_hWnd, GW_CHILD);
wxWindow* child = NULL;
if (hWndNext) if (hWndNext)
child = CreateWindowFromHWND(this, (WXHWND) hWndNext); CreateWindowFromHWND(this, (WXHWND) hWndNext);
while (hWndNext != (HWND) NULL) while (hWndNext != (HWND) NULL)
{ {
hWndNext = ::GetWindow(hWndNext, GW_HWNDNEXT); hWndNext = ::GetWindow(hWndNext, GW_HWNDNEXT);
if (hWndNext) if (hWndNext)
child = CreateWindowFromHWND(this, (WXHWND) hWndNext); CreateWindowFromHWND(this, (WXHWND) hWndNext);
} }
return TRUE; return TRUE;
@@ -112,15 +111,14 @@ bool wxWindow::LoadNativeDialog(wxWindow* parent, const wxString& name)
HWND hWndNext; HWND hWndNext;
hWndNext = ::GetWindow((HWND) m_hWnd, GW_CHILD); hWndNext = ::GetWindow((HWND) m_hWnd, GW_CHILD);
wxWindow* child = NULL;
if (hWndNext) if (hWndNext)
child = CreateWindowFromHWND(this, (WXHWND) hWndNext); CreateWindowFromHWND(this, (WXHWND) hWndNext);
while (hWndNext != (HWND) NULL) while (hWndNext != (HWND) NULL)
{ {
hWndNext = ::GetWindow(hWndNext, GW_HWNDNEXT); hWndNext = ::GetWindow(hWndNext, GW_HWNDNEXT);
if (hWndNext) if (hWndNext)
child = CreateWindowFromHWND(this, (WXHWND) hWndNext); CreateWindowFromHWND(this, (WXHWND) hWndNext);
} }
return TRUE; return TRUE;

View File

@@ -1,161 +0,0 @@
# Microsoft Developer Studio Project File - Name="wxRcVC" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Application" 0x0101
CFG=wxRcVC - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "wxRcVC.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "wxRcVC.mak" CFG="wxRcVC - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "wxRcVC - Win32 Release" (based on "Win32 (x86) Application")
!MESSAGE "wxRcVC - Win32 Debug" (based on "Win32 (x86) Application")
!MESSAGE "wxRcVC - Win32 Debug DLL" (based on "Win32 (x86) Application")
!MESSAGE "wxRcVC - Win32 Release DLL" (based on "Win32 (x86) Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "wxRcVC - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "..\..\include" /I "..\..\..\include" /I "../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
# SUBTRACT CPP /YX
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x809 /d "NDEBUG"
# ADD RSC /l 0x809 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib wxxrc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/wxrc.exe" /libpath:"..\..\..\lib"
!ELSEIF "$(CFG)" == "wxRcVC - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\include" /I "..\..\..\include" /I "../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
# SUBTRACT CPP /YX /Yc /Yu
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x809 /d "_DEBUG"
# ADD RSC /l 0x809 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib wxxrcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/wxrc.exe" /pdbtype:sept /libpath:"..\..\..\lib"
!ELSEIF "$(CFG)" == "wxRcVC - Win32 Debug DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "DebugDLL"
# PROP BASE Intermediate_Dir "DebugDLL"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "DebugDLL"
# PROP Intermediate_Dir "DebugDLL"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\include" /I "..\..\..\include" /I "../../../lib/mswdlld" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
# SUBTRACT CPP /YX
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x809 /d "_DEBUG"
# ADD RSC /l 0x809 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw250d.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/wxrc.exe" /pdbtype:sept /libpath:"..\..\..\lib"
!ELSEIF "$(CFG)" == "wxRcVC - Win32 Release DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "ReleaseDLL"
# PROP BASE Intermediate_Dir "ReleaseDLL"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "ReleaseDLL"
# PROP Intermediate_Dir "ReleaseDLL"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "..\..\include" /I "..\..\..\include" /I "../../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
# SUBTRACT CPP /YX
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x809 /d "NDEBUG"
# ADD RSC /l 0x809 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw250.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/wxrc.exe" /libpath:"..\..\..\lib"
!ENDIF
# Begin Target
# Name "wxRcVC - Win32 Release"
# Name "wxRcVC - Win32 Debug"
# Name "wxRcVC - Win32 Debug DLL"
# Name "wxRcVC - Win32 Release DLL"
# Begin Source File
SOURCE=.\wxrc.cpp
# End Source File
# Begin Source File
SOURCE=.\wxrc.rc
# ADD BASE RSC /l 0x809
# ADD RSC /l 0x809 /i "../../../include"
# End Source File
# End Target
# End Project

View File

@@ -1,29 +0,0 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "wxRcVC"=.\wxRcVC.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

View File

@@ -6,8 +6,10 @@
<exe id="wxrc" template="wx_util_console" template_append="wx_append"> <exe id="wxrc" template="wx_util_console" template_append="wx_append">
<sources>wxrc.cpp</sources> <sources>wxrc.cpp</sources>
<wx-lib>xrc</wx-lib>
<wx-lib>xml</wx-lib> <wx-lib>xml</wx-lib>
<wx-lib>base</wx-lib> <wx-lib>base</wx-lib>
<wx-lib>expat</wx-lib>
<install-to>$(BINDIR)</install-to> <install-to>$(BINDIR)</install-to>
</exe> </exe>