# -I$(UTILSDIR) \
-WXVERSION=2.4
+WXVERSION=2.5
# Use the small C++ support library
-APPEXTRALIBS=-lsupc++ ${top_builddir}/lib/libwx_$(WXTOOLKIT)$(WXDEBUGSUFFIX)_xrc-$(WXVERSION).a
+APPEXTRALIBS=-lsupc++
+
+# ${top_builddir}/lib/libwx_$(WXTOOLKIT)$(WXDEBUGSUFFIX)_xrc-$(WXVERSION).a
PLATFORM_OS=$(shell echo $(OS))
$(APPBUILDDIR)/settingsdialog.o: $(APPSRCDIR)/settingsdialog.cpp $(APPINCDIR)/settingsdialog.h $(APPSRCDIR)/symbols.h
$(CXX) -c $(CXXFLAGS) $(APPEXTRADEFS) -o $@ $<
-$(APPBUILDDIR)/utils.o: $(APPSRCDIR)/utils.cpp $(APPINCDIR)/imagewindow.h $(APPSRCDIR)/symbols.h
+$(APPBUILDDIR)/utils.o: $(APPSRCDIR)/utils.cpp $(APPINCDIR)/utils.h $(APPSRCDIR)/symbols.h
$(CXX) -c $(CXXFLAGS) $(APPEXTRADEFS) -o $@ $<
$(APPBUILDDIR)/wxconfigtool_resources.o: $(APPSRCDIR)/wxconfigtool.rc
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
-#pragma implementation appsettings.h
+#pragma implementation "appsettings.h"
#endif
#include "wx/wx.h"
#define _AP_APPSETTINGS_H_
#ifdef __GNUG__
-#pragma interface appsettings.cpp
+#pragma interface "appsettings.cpp"
#endif
#include "wx/notebook.h"
if ( n < GetChildCount() && n > -1 )
{
- ctConfigItem* child = wxDynamicCast(m_children.Nth(n)->Data(), ctConfigItem);
+ ctConfigItem* child = wxDynamicCast(m_children.Item(n)->GetData(), ctConfigItem);
return child;
}
else
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
-#pragma implementation configitemselector.cpp
+#pragma implementation "configitemselector.h"
#endif
#include <wx/wx.h>
#define _CONFIGITEMSELECTOR_H_
#ifdef __GNUG__
-#pragma interface configitemselector.h
+#pragma interface "configitemselector.cpp"
#endif
/*!
stream << ctEscapeHTMLCharacters(prop->GetVariant().GetString()) ;
stream << wxT("</") << prop->GetName() << wxT(">");
- node = node->Next();
+ node = node->GetNext();
}
// Output children
ctConfigItem* child = (ctConfigItem*) node->GetData();
DoSave(child, stream, indent);
- node = node->Next();
+ node = node->GetNext();
}
indent --;
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
- #pragma implementation "configtoolview.cpp"
+ #pragma implementation "configtoolview.h"
#endif
// Includes other headers for precompiled compilation
ctConfigItem* sel = GetSelection();
if (sel)
{
+ wxString name(sel->GetName());
wxString msg;
- msg.Printf(_("Delete %s?"), sel->GetName());
+ msg.Printf(_("Delete %s?"), (const wxChar*) name);
if (wxYES == wxMessageBox(msg, _("Delete item"), wxICON_QUESTION|wxYES_NO))
{
wxGetApp().GetMainFrame()->GetConfigTreeCtrl()->Delete(sel->GetTreeItemId());
#include "wx/cshelp.h"
// Include XPM icons
-#include "bitmaps/folder1.xpm"
-
#include "bitmaps/closedfolder.xpm"
#include "bitmaps/closedfolder_dis.xpm"
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
-#pragma implementation custompropertydialog.h
+#pragma implementation "custompropertydialog.h"
#endif
#include <wx/wx.h>
#define _CUSTOMPROPERTYDIALOG_H_
#ifdef __GNUG__
-#pragma interface custompropertydialog.cpp
+#pragma interface "custompropertydialog.cpp"
#endif
/*!
#define _HTMLPARSER_H_
#ifdef __GNUG__
- #pragma interface "htmlparser.h"
+ #pragma interface "htmlparser.cpp"
#endif
//#include "wx/module.h"
// Licence:
/////////////////////////////////////////////////////////////////////////////
+#ifdef __GNUG__
+#pragma implementation "mainframe.h"
+#endif
+
#include "wx/wx.h"
#ifdef __BORLANDC__
toolBarBitmaps[3] = wxBitmap(copy_xpm);
toolBarBitmaps[4] = wxBitmap(cut_xpm);
toolBarBitmaps[5] = wxBitmap(paste_xpm);
- toolBarBitmaps[6] = wxBitmap(print_xpm);
+// toolBarBitmaps[6] = wxBitmap(print_xpm);
toolBarBitmaps[7] = wxBitmap(help_xpm);
toolBarBitmaps[10] = wxBitmap(undo_xpm);
toolBarBitmaps[11] = wxBitmap(redo_xpm);
#ifndef _AP_MAINFRAME_H_
#define _AP_MAINFRAME_H_
+#ifdef __GNUG__
+#pragma interface "mainframe.cpp"
+#endif
+
#include "wx/imaglist.h"
#include "wx/docview.h"
wxASSERT( i < (int) GetCount() );
if (i < (int) GetCount())
{
- wxNode* node = m_list.Nth(i);
+ wxNode* node = m_list.Item(i);
return (ctProperty*) node->GetData();
}
return NULL;
node = next;
}
}
-#endif
\ No newline at end of file
+#endif
// Licence:
/////////////////////////////////////////////////////////////////////////////
+#ifdef __GNUG__
+#pragma implementation "settingsdialog.h"
+#endif
+
#include "wx/wx.h"
#include "wx/cshelp.h"
#include "wx/statline.h"
#ifndef _SETTINGSDIALOG_H_
#define _SETTINGSDIALOG_H_
+#ifdef __GNUG__
+#pragma interface "settingsdialog.cpp"
+#endif
+
/*!
* Includes
*/
wxIconInfo* wxIconTable::FindInfo(const wxString& name) const
{
- wxNode* node = First();
+ wxNode* node = GetFirst();
while (node)
{
- wxIconInfo* info = (wxIconInfo*) node->Data();
+ wxIconInfo* info = (wxIconInfo*) node->GetData();
if (info->GetName() == name)
return info;
- node = node->Next();
+ node = node->GetNext();
}
return NULL;
}
s += c;
}
return s;
-}
\ No newline at end of file
+}
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
-#pragma implementation wxconfigtool.h
+#pragma implementation "wxconfigtool.h"
#endif
#include "wx/wx.h"
#define _AP_WXCONFIGTOOL_H_
#ifdef __GNUG__
-#pragma interface wxconfigtool.cpp
+#pragma interface "wxconfigtool.cpp"
#endif
#include "wx/docview.h"
#include "wx/msw/wx.rc"
+/* Use if compiling with earlier versions of wxWindows */
+#if 0
1 24 "wxconfigtool.exe.manifest"
+#endif