Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 71108 | Differences between
and this patch

Collapse All | Expand All

(-)wxWidgets-2.6.0-orig/contrib/src/stc/scintilla/include/KeyWords.h (+1 lines)
Lines 29-34 Link Here
29
	LexerModule(int language_, LexerFunction fnLexer_, 
29
	LexerModule(int language_, LexerFunction fnLexer_, 
30
		const char *languageName_=0, LexerFunction fnFolder_=0,
30
		const char *languageName_=0, LexerFunction fnFolder_=0,
31
		const char * const wordListDescriptions_[] = NULL);
31
		const char * const wordListDescriptions_[] = NULL);
32
	virtual ~LexerModule() {};
32
	int GetLanguage() const { return language; }
33
	int GetLanguage() const { return language; }
33
34
34
	// -1 is returned if no WordList information is available
35
	// -1 is returned if no WordList information is available
(-)wxWidgets-2.6.0-orig/contrib/src/stc/scintilla/src/Document.cxx (-1 / +2 lines)
Lines 925-931 Link Here
925
	DocumentIndexer(Document *pdoc_, int end_) :
925
	DocumentIndexer(Document *pdoc_, int end_) :
926
		pdoc(pdoc_), end(end_) {
926
		pdoc(pdoc_), end(end_) {
927
	}
927
	}
928
928
	virtual ~DocumentIndexer () {};
929
	
929
	virtual char CharAt(int index) {
930
	virtual char CharAt(int index) {
930
		if (index < 0 || index >= end)
931
		if (index < 0 || index >= end)
931
			return 0;
932
			return 0;
(-)wxWidgets-2.6.0-orig/contrib/src/stc/scintilla/src/ExternalLexer.h (+1 lines)
Lines 38-43 Link Here
38
		strncpy(name, languageName_, sizeof(name));
38
		strncpy(name, languageName_, sizeof(name));
39
		languageName = name;
39
		languageName = name;
40
	};
40
	};
41
	virtual ~ExternalLexerModule() {};
41
	virtual void Lex(unsigned int startPos, int lengthDoc, int initStyle,
42
	virtual void Lex(unsigned int startPos, int lengthDoc, int initStyle,
42
					WordList *keywordlists[], Accessor &styler) const;
43
					WordList *keywordlists[], Accessor &styler) const;
43
	virtual void Fold(unsigned int startPos, int lengthDoc, int initStyle,
44
	virtual void Fold(unsigned int startPos, int lengthDoc, int initStyle,
(-)wxWidgets-2.6.0-orig/contrib/src/stc/scintilla/src/RESearch.h (+1 lines)
Lines 20-25 Link Here
20
class CharacterIndexer {
20
class CharacterIndexer {
21
public: 
21
public: 
22
	virtual char CharAt(int index)=0;
22
	virtual char CharAt(int index)=0;
23
	virtual ~CharacterIndexer() {};
23
};
24
};
24
25
25
class RESearch {
26
class RESearch {
(-)wxWidgets-2.6.0-orig/include/wx/caret.h (-1 / +1 lines)
Lines 62-68 Link Here
62
    }
62
    }
63
63
64
    // a virtual dtor has been provided since this class has virtual members
64
    // a virtual dtor has been provided since this class has virtual members
65
    virtual ~wxCaretBase() { }
65
    virtual ~wxCaretBase() { };
66
66
67
    // Create() functions - same as ctor but returns the success code
67
    // Create() functions - same as ctor but returns the success code
68
    // --------------------------------------------------------------
68
    // --------------------------------------------------------------
(-)wxWidgets-2.6.0-orig/include/wx/clipbrd.h (-1 / +2 lines)
Lines 39-45 Link Here
39
class WXDLLEXPORT wxClipboardBase : public wxObject
39
class WXDLLEXPORT wxClipboardBase : public wxObject
40
{
40
{
41
public:
41
public:
42
    wxClipboardBase() {}
42
    wxClipboardBase() {};
43
	virtual ~wxClipboardBase() {};
43
44
44
    // open the clipboard before Add/SetData() and GetData()
45
    // open the clipboard before Add/SetData() and GetData()
45
    virtual bool Open() = 0;
46
    virtual bool Open() = 0;
(-)wxWidgets-2.6.0-orig/include/wx/datetime.h (-1 / +3 lines)
Lines 1447-1453 Link Here
1447
{
1447
{
1448
friend class wxDateTimeHolidaysModule;
1448
friend class wxDateTimeHolidaysModule;
1449
public:
1449
public:
1450
    // returns true if the given date is a holiday
1450
	// returns true if the given date is a holiday
1451
    static bool IsHoliday(const wxDateTime& dt);
1451
    static bool IsHoliday(const wxDateTime& dt);
1452
1452
1453
    // fills the provided array with all holidays in the given range, returns
1453
    // fills the provided array with all holidays in the given range, returns
Lines 1490-1495 Link Here
1490
// the holidays for this class are all Saturdays and Sundays
1490
// the holidays for this class are all Saturdays and Sundays
1491
class WXDLLIMPEXP_BASE wxDateTimeWorkDays : public wxDateTimeHolidayAuthority
1491
class WXDLLIMPEXP_BASE wxDateTimeWorkDays : public wxDateTimeHolidayAuthority
1492
{
1492
{
1493
public:
1494
	virtual ~wxDateTimeWorkDays() {};
1493
protected:
1495
protected:
1494
    virtual bool DoIsHoliday(const wxDateTime& dt) const;
1496
    virtual bool DoIsHoliday(const wxDateTime& dt) const;
1495
    virtual size_t DoGetHolidaysInRange(const wxDateTime& dtStart,
1497
    virtual size_t DoGetHolidaysInRange(const wxDateTime& dtStart,
(-)wxWidgets-2.6.0-orig/include/wx/dir.h (-1 / +1 lines)
Lines 55-61 Link Here
55
{
55
{
56
public:
56
public:
57
    /// a virtual dtor has been provided since this class has virtual members
57
    /// a virtual dtor has been provided since this class has virtual members
58
    virtual ~wxDirTraverser() { }
58
    virtual ~wxDirTraverser() { };
59
    // called for each file found by wxDir::Traverse()
59
    // called for each file found by wxDir::Traverse()
60
    //
60
    //
61
    // return wxDIR_STOP or wxDIR_CONTINUE from here (wxDIR_IGNORE doesn't
61
    // return wxDIR_STOP or wxDIR_CONTINUE from here (wxDIR_IGNORE doesn't
(-)wxWidgets-2.6.0-orig/include/wx/event.h (+1 lines)
Lines 2174-2179 Link Here
2174
        : wxEventTableEntryBase(winid, idLast, fn, data),
2174
        : wxEventTableEntryBase(winid, idLast, fn, data),
2175
        m_eventType(evType)
2175
        m_eventType(evType)
2176
    { }
2176
    { }
2177
	virtual ~wxEventTableEntry() {};
2177
2178
2178
    // the reference to event type: this allows us to not care about the
2179
    // the reference to event type: this allows us to not care about the
2179
    // (undefined) order in which the event table entries and the event types
2180
    // (undefined) order in which the event table entries and the event types
(-)wxWidgets-2.6.0-orig/include/wx/geometry.h (-1 / +1 lines)
Lines 785-791 Link Here
785
class wxTransform2D
785
class wxTransform2D
786
{
786
{
787
public :
787
public :
788
    virtual ~wxTransform2D() { }
788
    virtual ~wxTransform2D() { };
789
    virtual void                    Transform( wxPoint2DInt* pt )const  = 0;
789
    virtual void                    Transform( wxPoint2DInt* pt )const  = 0;
790
    virtual void                    Transform( wxRect2DInt* r ) const;
790
    virtual void                    Transform( wxRect2DInt* r ) const;
791
    virtual wxPoint2DInt    Transform( const wxPoint2DInt &pt ) const;
791
    virtual wxPoint2DInt    Transform( const wxPoint2DInt &pt ) const;
(-)wxWidgets-2.6.0-orig/include/wx/list.h (+2 lines)
Lines 662-667 Link Here
662
                 T *data = (T *)NULL,                                       \
662
                 T *data = (T *)NULL,                                       \
663
                 const wxListKey& key = wxDefaultListKey)                   \
663
                 const wxListKey& key = wxDefaultListKey)                   \
664
            : wxNodeBase(list, previous, next, data, key) { }               \
664
            : wxNodeBase(list, previous, next, data, key) { }               \
665
        virtual ~nodetype() {};                                             \
665
                                                                            \
666
                                                                            \
666
        nodetype *GetNext() const                                           \
667
        nodetype *GetNext() const                                           \
667
            { return (nodetype *)wxNodeBase::GetNext(); }                   \
668
            { return (nodetype *)wxNodeBase::GetNext(); }                   \
Lines 694-699 Link Here
694
                                                                            \
695
                                                                            \
695
        name& operator=(const name& list)                                   \
696
        name& operator=(const name& list)                                   \
696
            { Assign(list); return *this; }                                 \
697
            { Assign(list); return *this; }                                 \
698
        virtual ~name() {};                                                 \
697
                                                                            \
699
                                                                            \
698
        nodetype *GetFirst() const                                          \
700
        nodetype *GetFirst() const                                          \
699
            { return (nodetype *)wxListBase::GetFirst(); }                  \
701
            { return (nodetype *)wxListBase::GetFirst(); }                  \
(-)wxWidgets-2.6.0-orig/include/wx/notebook.h (-1 / +2 lines)
Lines 118-124 Link Here
118
        : wxBookCtrlBaseEvent(commandType, winid, nSel, nOldSel)
118
        : wxBookCtrlBaseEvent(commandType, winid, nSel, nOldSel)
119
    {
119
    {
120
    }
120
    }
121
121
	virtual ~wxNotebookEvent() {};
122
	
122
private:
123
private:
123
    DECLARE_DYNAMIC_CLASS_NO_COPY(wxNotebookEvent)
124
    DECLARE_DYNAMIC_CLASS_NO_COPY(wxNotebookEvent)
124
};
125
};
(-)wxWidgets-2.6.0-orig/include/wx/protocol/file.h (-1 / +1 lines)
Lines 13-19 Link Here
13
#define __WX_PROTO_FILE_H__
13
#define __WX_PROTO_FILE_H__
14
14
15
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
15
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16
#pragma interface "sckfile.h"
16
#pragma interface
17
#endif
17
#endif
18
18
19
#include "wx/defs.h"
19
#include "wx/defs.h"
(-)wxWidgets-2.6.0-orig/include/wx/radiobox.h (+1 lines)
Lines 31-36 Link Here
31
class WXDLLEXPORT wxRadioBoxBase : public wxItemContainerImmutable
31
class WXDLLEXPORT wxRadioBoxBase : public wxItemContainerImmutable
32
{
32
{
33
public:
33
public:
34
	virtual ~wxRadioBoxBase() {};
34
    // change the individual radio button state
35
    // change the individual radio button state
35
    virtual bool Enable(int n, bool enable = true) = 0;
36
    virtual bool Enable(int n, bool enable = true) = 0;
36
    virtual bool Show(int n, bool show = true) = 0;
37
    virtual bool Show(int n, bool show = true) = 0;
(-)wxWidgets-2.6.0-orig/include/wx/statline.h (+1 lines)
Lines 39-44 Link Here
39
public:
39
public:
40
    // constructor
40
    // constructor
41
    wxStaticLineBase() { }
41
    wxStaticLineBase() { }
42
	virtual ~wxStaticLineBase() {};
42
43
43
    // is the line vertical?
44
    // is the line vertical?
44
    bool IsVertical() const { return (GetWindowStyle() & wxLI_VERTICAL) != 0; }
45
    bool IsVertical() const { return (GetWindowStyle() & wxLI_VERTICAL) != 0; }
(-)wxWidgets-2.6.0-orig/src/common/dircmn.cpp (+1 lines)
Lines 204-209 Link Here
204
{
204
{
205
public:
205
public:
206
    wxDirTraverserSimple(wxArrayString& files) : m_files(files) { }
206
    wxDirTraverserSimple(wxArrayString& files) : m_files(files) { }
207
	virtual ~wxDirTraverserSimple() {};
207
208
208
    virtual wxDirTraverseResult OnFile(const wxString& filename)
209
    virtual wxDirTraverseResult OnFile(const wxString& filename)
209
    {
210
    {
(-)wxWidgets-2.6.0-orig/src/common/sckfile.cpp (-1 / +1 lines)
Lines 9-15 Link Here
9
// Licence:     wxWindows licence
9
// Licence:     wxWindows licence
10
/////////////////////////////////////////////////////////////////////////////
10
/////////////////////////////////////////////////////////////////////////////
11
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
11
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
12
#pragma implementation "sckfile.h"
12
#pragma implementation "file.h"
13
#endif
13
#endif
14
14
15
// For compilers that support precompilation, includes "wx.h".
15
// For compilers that support precompilation, includes "wx.h".
(-)wxWidgets-2.6.0-orig/src/expat/lib/xmlparse.c (+2 lines)
Lines 299-306 Link Here
299
static enum XML_Error
299
static enum XML_Error
300
doProlog(XML_Parser parser, const ENCODING *enc, const char *s,
300
doProlog(XML_Parser parser, const ENCODING *enc, const char *s,
301
         const char *end, int tok, const char *next, const char **nextPtr);
301
         const char *end, int tok, const char *next, const char **nextPtr);
302
#ifdef XML_DTD
302
static enum XML_Error
303
static enum XML_Error
303
processInternalParamEntity(XML_Parser parser, ENTITY *entity);
304
processInternalParamEntity(XML_Parser parser, ENTITY *entity);
305
#endif /* XML_DTD */
304
static enum XML_Error
306
static enum XML_Error
305
doContent(XML_Parser parser, int startTagLevel, const ENCODING *enc,
307
doContent(XML_Parser parser, int startTagLevel, const ENCODING *enc,
306
          const char *start, const char *end, const char **endPtr);
308
          const char *start, const char *end, const char **endPtr);
(-)wxWidgets-2.6.0-orig/src/unix/mimetype.cpp (-1 / +1 lines)
Lines 1749-1755 Link Here
1749
    {
1749
    {
1750
        // now got a file we can write to ....
1750
        // now got a file we can write to ....
1751
        wxMimeTypeCommands * entries = m_aEntries[index];
1751
        wxMimeTypeCommands * entries = m_aEntries[index];
1752
        size_t iOpen;
1752
        size_t iOpen = 0;
1753
        wxString sCmd = entries->GetCommandForVerb(_T("open"), &iOpen);
1753
        wxString sCmd = entries->GetCommandForVerb(_T("open"), &iOpen);
1754
        wxString sTmp;
1754
        wxString sTmp;
1755
1755
(-)wxWidgets-2.6.0-orig/src/xml/xml.cpp (-2 / +2 lines)
Lines 360-367 Link Here
360
#else
360
#else
361
    if ( conv )
361
    if ( conv )
362
    {
362
    {
363
        size_t nLen = (len != wxSTRING_MAXLEN) ? len :
363
        size_t nLen = ((len != wxSTRING_MAXLEN) ? len :
364
                          wxConvUTF8.MB2WC((wchar_t*) NULL, s, 0);
364
                          wxConvUTF8.MB2WC((wchar_t*) NULL, s, 0));
365
365
366
        wchar_t *buf = new wchar_t[nLen+1];
366
        wchar_t *buf = new wchar_t[nLen+1];
367
        wxConvUTF8.MB2WC(buf, s, nLen);
367
        wxConvUTF8.MB2WC(buf, s, nLen);

Return to bug 71108