|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/contrib/src/xrc/xml.cpp.gcc4 2003-09-21 07:32:56.000000000 -0400
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/contrib/src/xrc/xml.cpp 2005-04-15 06:59:47.000000000 -0400
|
|
Dams Nadé |
665ea9 |
@@ -354,8 +354,8 @@
|
|
Dams Nadé |
665ea9 |
#else
|
|
Dams Nadé |
665ea9 |
if ( conv )
|
|
Dams Nadé |
665ea9 |
{
|
|
Dams Nadé |
665ea9 |
- size_t nLen = (len != wxSTRING_MAXLEN) ? len :
|
|
Dams Nadé |
665ea9 |
- nLen = wxConvUTF8.MB2WC((wchar_t*) NULL, s, 0);
|
|
Dams Nadé |
665ea9 |
+ size_t nLen = ((len != wxSTRING_MAXLEN) ? len :
|
|
Dams Nadé |
665ea9 |
+ wxConvUTF8.MB2WC((wchar_t*) NULL, s, 0));
|
|
Dams Nadé |
665ea9 |
|
|
Dams Nadé |
665ea9 |
wchar_t *buf = new wchar_t[nLen+1];
|
|
Dams Nadé |
665ea9 |
wxConvUTF8.MB2WC(buf, s, nLen);
|
|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/contrib/src/xrc/expat/xmlparse/xmlparse.c.gcc4 2003-09-21 07:32:54.000000000 -0400
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/contrib/src/xrc/expat/xmlparse/xmlparse.c 2005-04-15 06:59:47.000000000 -0400
|
|
Dams Nadé |
665ea9 |
@@ -203,8 +203,10 @@
|
|
Dams Nadé |
665ea9 |
static enum XML_Error
|
|
Dams Nadé |
665ea9 |
doProlog(XML_Parser parser, const ENCODING *enc, const char *s,
|
|
Dams Nadé |
665ea9 |
const char *end, int tok, const char *next, const char **nextPtr);
|
|
Dams Nadé |
665ea9 |
+#ifdef XML_DTD
|
|
Dams Nadé |
665ea9 |
static enum XML_Error
|
|
Dams Nadé |
665ea9 |
processInternalParamEntity(XML_Parser parser, ENTITY *entity);
|
|
Dams Nadé |
665ea9 |
+#endif /* XML_DTD */
|
|
Dams Nadé |
665ea9 |
static enum XML_Error
|
|
Dams Nadé |
665ea9 |
doContent(XML_Parser parser, int startTagLevel, const ENCODING *enc,
|
|
Dams Nadé |
665ea9 |
const char *start, const char *end, const char **endPtr);
|
|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/contrib/src/stc/scintilla/src/Document.cxx.gcc4 2003-09-21 07:32:47.000000000 -0400
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/contrib/src/stc/scintilla/src/Document.cxx 2005-04-15 06:59:47.000000000 -0400
|
|
Dams Nadé |
665ea9 |
@@ -850,6 +850,7 @@
|
|
Dams Nadé |
665ea9 |
DocumentIndexer(Document *pdoc_, int end_) :
|
|
Dams Nadé |
665ea9 |
pdoc(pdoc_), end(end_) {
|
|
Dams Nadé |
665ea9 |
}
|
|
Dams Nadé |
665ea9 |
+ virtual ~DocumentIndexer() {};
|
|
Dams Nadé |
665ea9 |
|
|
Dams Nadé |
665ea9 |
virtual char CharAt(int index) {
|
|
Dams Nadé |
665ea9 |
if (index < 0 || index >= end)
|
|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/contrib/src/stc/scintilla/src/ExternalLexer.h.gcc4 2003-09-21 07:32:50.000000000 -0400
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/contrib/src/stc/scintilla/src/ExternalLexer.h 2005-04-15 06:59:47.000000000 -0400
|
|
Dams Nadé |
665ea9 |
@@ -38,6 +38,7 @@
|
|
Dams Nadé |
665ea9 |
strncpy(name, languageName_, sizeof(name));
|
|
Dams Nadé |
665ea9 |
languageName = name;
|
|
Dams Nadé |
665ea9 |
};
|
|
Dams Nadé |
665ea9 |
+ virtual ~ExternalLexerModule() {};
|
|
Dams Nadé |
665ea9 |
virtual void Lex(unsigned int startPos, int lengthDoc, int initStyle,
|
|
Dams Nadé |
665ea9 |
WordList *keywordlists[], Accessor &styler) const;
|
|
Dams Nadé |
665ea9 |
virtual void Fold(unsigned int startPos, int lengthDoc, int initStyle,
|
|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/contrib/src/stc/scintilla/src/RESearch.h.gcc4 2003-09-21 07:32:50.000000000 -0400
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/contrib/src/stc/scintilla/src/RESearch.h 2005-04-15 06:59:47.000000000 -0400
|
|
Dams Nadé |
665ea9 |
@@ -20,6 +20,7 @@
|
|
Dams Nadé |
665ea9 |
class CharacterIndexer {
|
|
Dams Nadé |
665ea9 |
public:
|
|
Dams Nadé |
665ea9 |
virtual char CharAt(int index)=0;
|
|
Dams Nadé |
665ea9 |
+ virtual ~CharacterIndexer() {};
|
|
Dams Nadé |
665ea9 |
};
|
|
Dams Nadé |
665ea9 |
|
|
Dams Nadé |
665ea9 |
class RESearch {
|
|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/contrib/src/stc/scintilla/include/KeyWords.h.gcc4 2003-09-21 07:32:47.000000000 -0400
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/contrib/src/stc/scintilla/include/KeyWords.h 2005-04-15 06:59:47.000000000 -0400
|
|
Dams Nadé |
665ea9 |
@@ -29,6 +29,7 @@
|
|
Dams Nadé |
665ea9 |
LexerModule(int language_, LexerFunction fnLexer_,
|
|
Dams Nadé |
665ea9 |
const char *languageName_=0, LexerFunction fnFolder_=0,
|
|
Dams Nadé |
665ea9 |
const char * const wordListDescriptions_[] = NULL);
|
|
Dams Nadé |
665ea9 |
+ virtual ~LexerModule() {};
|
|
Dams Nadé |
665ea9 |
int GetLanguage() const { return language; }
|
|
Dams Nadé |
665ea9 |
|
|
Dams Nadé |
665ea9 |
// -1 is returned if no WordList information is available
|
|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/src/common/dircmn.cpp.gcc4 2003-09-21 07:31:39.000000000 -0400
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/src/common/dircmn.cpp 2005-04-15 06:59:47.000000000 -0400
|
|
Dams Nadé |
665ea9 |
@@ -147,6 +147,7 @@
|
|
Dams Nadé |
665ea9 |
{
|
|
Dams Nadé |
665ea9 |
public:
|
|
Dams Nadé |
665ea9 |
wxDirTraverserSimple(wxArrayString& files) : m_files(files) { }
|
|
Dams Nadé |
665ea9 |
+ virtual ~wxDirTraverserSimple() {};
|
|
Dams Nadé |
665ea9 |
|
|
Dams Nadé |
665ea9 |
virtual wxDirTraverseResult OnFile(const wxString& filename)
|
|
Dams Nadé |
665ea9 |
{
|
|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/src/common/xpmdecod.cpp.gcc4 2003-09-21 07:31:39.000000000 -0400
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/src/common/xpmdecod.cpp 2005-04-15 14:06:53.000000000 -0400
|
|
Dams Nadé |
665ea9 |
@@ -669,7 +669,7 @@
|
|
Dams Nadé |
665ea9 |
wxChar key[64];
|
|
Dams Nadé |
665ea9 |
const char *clr_def;
|
|
Dams Nadé |
665ea9 |
bool hasMask;
|
|
Dams Nadé |
665ea9 |
- wxXPMColourMapData clr_data;
|
|
Dams Nadé |
665ea9 |
+ wxXPMColourMapData clr_data = {0, 0, 0};
|
|
Dams Nadé |
665ea9 |
wxXPMColourMap clr_tbl;
|
|
Dams Nadé |
665ea9 |
|
|
Dams Nadé |
665ea9 |
/*
|
|
Dams Nadé |
665ea9 |
@@ -712,7 +712,7 @@
|
|
Dams Nadé |
665ea9 |
}
|
|
Dams Nadé |
665ea9 |
else
|
|
Dams Nadé |
665ea9 |
{
|
|
Dams Nadé |
665ea9 |
- bool isNone;
|
|
Dams Nadé |
665ea9 |
+ bool isNone = false;
|
|
Dams Nadé |
665ea9 |
if ( !GetRGBFromName(clr_def, &isNone,
|
|
Dams Nadé |
665ea9 |
&clr_data.R, &clr_data.G, &clr_data.B) )
|
|
Dams Nadé |
665ea9 |
{
|
|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/src/unix/mimetype.cpp.gcc4 2003-09-21 07:31:40.000000000 -0400
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/src/unix/mimetype.cpp 2005-04-15 06:59:47.000000000 -0400
|
|
Dams Nadé |
665ea9 |
@@ -1580,7 +1580,7 @@
|
|
Dams Nadé |
665ea9 |
{
|
|
Dams Nadé |
665ea9 |
// now got a file we can write to ....
|
|
Dams Nadé |
665ea9 |
wxMimeTypeCommands * entries = m_aEntries[index];
|
|
Dams Nadé |
665ea9 |
- size_t iOpen;
|
|
Dams Nadé |
665ea9 |
+ size_t iOpen = 0;
|
|
Dams Nadé |
665ea9 |
wxString sCmd = entries->GetCommandForVerb(_T("open"), &iOpen);
|
|
Dams Nadé |
665ea9 |
wxString sTmp;
|
|
Dams Nadé |
665ea9 |
|
|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/include/wx/statline.h.gcc4 2003-09-21 07:31:35.000000000 -0400
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/include/wx/statline.h 2005-04-15 06:59:47.000000000 -0400
|
|
Dams Nadé |
665ea9 |
@@ -39,6 +39,7 @@
|
|
Dams Nadé |
665ea9 |
public:
|
|
Dams Nadé |
665ea9 |
// constructor
|
|
Dams Nadé |
665ea9 |
wxStaticLineBase() { }
|
|
Dams Nadé |
665ea9 |
+ virtual ~wxStaticLineBase() {};
|
|
Dams Nadé |
665ea9 |
|
|
Dams Nadé |
665ea9 |
// is the line vertical?
|
|
Dams Nadé |
665ea9 |
bool IsVertical() const { return (GetWindowStyle() & wxLI_VERTICAL) != 0; }
|
|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/include/wx/datetime.h.gcc4 2003-09-21 07:31:30.000000000 -0400
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/include/wx/datetime.h 2005-04-15 06:59:47.000000000 -0400
|
|
Dams Nadé |
665ea9 |
@@ -1300,6 +1300,7 @@
|
|
Dams Nadé |
665ea9 |
{
|
|
Dams Nadé |
665ea9 |
friend class wxDateTimeHolidaysModule;
|
|
Dams Nadé |
665ea9 |
public:
|
|
Dams Nadé |
665ea9 |
+ virtual ~wxDateTimeHolidayAuthority() {};
|
|
Dams Nadé |
665ea9 |
// returns TRUE if the given date is a holiday
|
|
Dams Nadé |
665ea9 |
static bool IsHoliday(const wxDateTime& dt);
|
|
Dams Nadé |
665ea9 |
|
|
Dams Nadé |
665ea9 |
@@ -1340,6 +1341,8 @@
|
|
Dams Nadé |
665ea9 |
// the holidays for this class are all Saturdays and Sundays
|
|
Dams Nadé |
665ea9 |
class WXDLLEXPORT wxDateTimeWorkDays : public wxDateTimeHolidayAuthority
|
|
Dams Nadé |
665ea9 |
{
|
|
Dams Nadé |
665ea9 |
+public:
|
|
Dams Nadé |
665ea9 |
+ virtual ~wxDateTimeWorkDays() {};
|
|
Dams Nadé |
665ea9 |
protected:
|
|
Dams Nadé |
665ea9 |
virtual bool DoIsHoliday(const wxDateTime& dt) const;
|
|
Dams Nadé |
665ea9 |
virtual size_t DoGetHolidaysInRange(const wxDateTime& dtStart,
|
|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/include/wx/notebook.h.gcc4 2003-09-21 07:31:34.000000000 -0400
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/include/wx/notebook.h 2005-04-15 06:59:47.000000000 -0400
|
|
Dams Nadé |
665ea9 |
@@ -193,6 +193,7 @@
|
|
Dams Nadé |
665ea9 |
m_nSel = nSel;
|
|
Dams Nadé |
665ea9 |
m_nOldSel = nOldSel;
|
|
Dams Nadé |
665ea9 |
}
|
|
Dams Nadé |
665ea9 |
+ virtual ~wxNotebookEvent() {};
|
|
Dams Nadé |
665ea9 |
|
|
Dams Nadé |
665ea9 |
// accessors
|
|
Dams Nadé |
665ea9 |
// the currently selected page (-1 if none)
|
|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/include/wx/event.h.gcc4 2003-09-21 07:31:33.000000000 -0400
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/include/wx/event.h 2005-04-15 06:59:47.000000000 -0400
|
|
Dams Nadé |
665ea9 |
@@ -1952,6 +1952,7 @@
|
|
Dams Nadé |
665ea9 |
: wxEventTableEntryBase(id, idLast, fn, data),
|
|
Dams Nadé |
665ea9 |
m_eventType(evType)
|
|
Dams Nadé |
665ea9 |
{ }
|
|
Dams Nadé |
665ea9 |
+ virtual ~wxEventTableEntry() {};
|
|
Dams Nadé |
665ea9 |
|
|
Dams Nadé |
665ea9 |
// the reference to event type: this allows us to not care about the
|
|
Dams Nadé |
665ea9 |
// (undefined) order in which the event table entries and the event types
|
|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/include/wx/geometry.h.gcc4 2003-09-21 07:31:34.000000000 -0400
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/include/wx/geometry.h 2005-04-15 06:59:47.000000000 -0400
|
|
Dams Nadé |
665ea9 |
@@ -785,6 +785,7 @@
|
|
Dams Nadé |
665ea9 |
class wxTransform2D
|
|
Dams Nadé |
665ea9 |
{
|
|
Dams Nadé |
665ea9 |
public :
|
|
Dams Nadé |
665ea9 |
+ virtual ~wxTransform2D() {};
|
|
Dams Nadé |
665ea9 |
virtual void Transform( wxPoint2DInt* pt )const = 0;
|
|
Dams Nadé |
665ea9 |
virtual void Transform( wxRect2DInt* r ) const;
|
|
Dams Nadé |
665ea9 |
virtual wxPoint2DInt Transform( const wxPoint2DInt &pt ) const;
|
|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/include/wx/list.h.gcc4 2003-09-21 07:31:34.000000000 -0400
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/include/wx/list.h 2005-04-15 14:05:22.000000000 -0400
|
|
Dams Nadé |
665ea9 |
@@ -384,6 +384,7 @@
|
|
Dams Nadé |
665ea9 |
T *data = (T *)NULL, \
|
|
Dams Nadé |
665ea9 |
const wxListKey& key = wxDefaultListKey) \
|
|
Dams Nadé |
665ea9 |
: wxNodeBase(list, previous, next, data, key) { } \
|
|
Dams Nadé |
665ea9 |
+ virtual ~nodetype() {}; \
|
|
Dams Nadé |
665ea9 |
\
|
|
Dams Nadé |
665ea9 |
nodetype *GetNext() const \
|
|
Dams Nadé |
665ea9 |
{ return (nodetype *)wxNodeBase::GetNext(); } \
|
|
Dams Nadé |
665ea9 |
@@ -410,6 +411,7 @@
|
|
Dams Nadé |
665ea9 |
\
|
|
Dams Nadé |
665ea9 |
name& operator=(const name& list) \
|
|
Dams Nadé |
665ea9 |
{ (void) wxListBase::operator=(list); return *this; } \
|
|
Dams Nadé |
665ea9 |
+ virtual ~name() {}; \
|
|
Dams Nadé |
665ea9 |
\
|
|
Dams Nadé |
665ea9 |
nodetype *GetFirst() const \
|
|
Dams Nadé |
665ea9 |
{ return (nodetype *)wxListBase::GetFirst(); } \
|
|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/include/wx/radiobox.h.gcc4 2003-09-21 07:31:35.000000000 -0400
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/include/wx/radiobox.h 2005-04-15 06:59:47.000000000 -0400
|
|
Dams Nadé |
665ea9 |
@@ -35,6 +35,7 @@
|
|
Dams Nadé |
665ea9 |
class WXDLLEXPORT wxRadioBoxBase
|
|
Dams Nadé |
665ea9 |
{
|
|
Dams Nadé |
665ea9 |
public:
|
|
Dams Nadé |
665ea9 |
+ virtual ~wxRadioBoxBase() {};
|
|
Dams Nadé |
665ea9 |
// selection
|
|
Dams Nadé |
665ea9 |
virtual void SetSelection(int n) = 0;
|
|
Dams Nadé |
665ea9 |
virtual int GetSelection() const = 0;
|
|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/include/wx/caret.h.gcc4 2003-09-21 07:31:30.000000000 -0400
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/include/wx/caret.h 2005-04-15 06:59:47.000000000 -0400
|
|
Dams Nadé |
665ea9 |
@@ -60,6 +60,7 @@
|
|
Dams Nadé |
665ea9 |
|
|
Dams Nadé |
665ea9 |
(void)Create(window, size);
|
|
Dams Nadé |
665ea9 |
}
|
|
Dams Nadé |
665ea9 |
+ virtual ~wxCaretBase() {};
|
|
Dams Nadé |
665ea9 |
|
|
Dams Nadé |
665ea9 |
// Create() functions - same as ctor but returns the success code
|
|
Dams Nadé |
665ea9 |
// --------------------------------------------------------------
|
|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/include/wx/dir.h.gcc4 2003-09-21 07:31:32.000000000 -0400
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/include/wx/dir.h 2005-04-15 06:59:47.000000000 -0400
|
|
Dams Nadé |
665ea9 |
@@ -52,6 +52,7 @@
|
|
Dams Nadé |
665ea9 |
class WXDLLEXPORT wxDirTraverser
|
|
Dams Nadé |
665ea9 |
{
|
|
Dams Nadé |
665ea9 |
public:
|
|
Dams Nadé |
665ea9 |
+ virtual ~wxDirTraverser() {};
|
|
Dams Nadé |
665ea9 |
// called for each file found by wxDir::Traverse()
|
|
Dams Nadé |
665ea9 |
//
|
|
Dams Nadé |
665ea9 |
// return wxDIR_STOP or wxDIR_CONTINUE from here
|
|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/include/wx/clipbrd.h.gcc4 2003-09-21 07:31:30.000000000 -0400
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/include/wx/clipbrd.h 2005-04-15 06:59:47.000000000 -0400
|
|
Dams Nadé |
665ea9 |
@@ -39,6 +39,7 @@
|
|
Dams Nadé |
665ea9 |
{
|
|
Dams Nadé |
665ea9 |
public:
|
|
Dams Nadé |
665ea9 |
wxClipboardBase();
|
|
Dams Nadé |
665ea9 |
+ virtual ~wxClipboardBase() {};
|
|
Dams Nadé |
665ea9 |
|
|
Dams Nadé |
665ea9 |
// open the clipboard before Add/SetData() and GetData()
|
|
Dams Nadé |
665ea9 |
virtual bool Open() = 0;
|
|
Dams Nadé |
665ea9 |
--- wxGTK-2.4.2/src/common/sckfile.cpp.orig 2005-04-16 16:50:11.000000000 -0700
|
|
Dams Nadé |
665ea9 |
+++ wxGTK-2.4.2/src/common/sckfile.cpp 2005-04-16 16:50:14.000000000 -0700
|
|
Dams Nadé |
665ea9 |
@@ -9,7 +9,7 @@
|
|
Dams Nadé |
665ea9 |
// Licence: wxWindows license
|
|
Dams Nadé |
665ea9 |
/////////////////////////////////////////////////////////////////////////////
|
|
Dams Nadé |
665ea9 |
#ifdef __GNUG__
|
|
Dams Nadé |
665ea9 |
-#pragma implementation "sckfile.h"
|
|
Dams Nadé |
665ea9 |
+#pragma implementation "file.h"
|
|
Dams Nadé |
665ea9 |
#endif
|
|
Dams Nadé |
665ea9 |
|
|
Dams Nadé |
665ea9 |
// For compilers that support precompilation, includes "wx.h".
|