Thread: [Dev-C++] Newbie to wxWidgets...HELP!
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <ca...@kr...> - 2004-03-02 07:59:57
|
hi all!
I'm not new to devcpp but to wxwidgets.
I just updated my ide and installed the wxwidget package as well as the image lib package.
I restarted the whole program and created a new wxwidget gui project.
I then tried to compile the given code (haven't changed a single line) and got lots and lots of errors...
what have I done wrong?
thanks in advance!
regards
/christian
Compiler: Default compiler
Building Makefile: "C:\Tools\Dev-Cpp\Makefile.win"
Executing make clean
rm -f main.o Project1_private.res Project1.exe
g++.exe -c main.cpp -o main.o -I"C:/Tools/Dev-Cpp/include/c++" -I"C:/Tools/Dev-Cpp/include/c++/mingw32" -I"C:/Tools/Dev-Cpp/include/c++/backward" -I"C:/Tools/Dev-Cpp/include" -ansi -fexpensive-optimizations -O3
In file included from C:/Tools/Dev-Cpp/include/wx/wx.h:15,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/defs.h:320: redeclaration of C++ built-in type `
bool'
In file included from C:/Tools/Dev-Cpp/include/wx/debug.h:17,
from C:/Tools/Dev-Cpp/include/wx/defs.h:468,
from C:/Tools/Dev-Cpp/include/wx/wx.h:15,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/wxchar.h:429:6: #error "Please define string case-insensitive compare for your OS/compiler"
In file included from C:/Tools/Dev-Cpp/include/wx/string.h:70,
from C:/Tools/Dev-Cpp/include/wx/memory.h:20,
from C:/Tools/Dev-Cpp/include/wx/object.h:20,
from C:/Tools/Dev-Cpp/include/wx/wx.h:16,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/buffer.h: In constructor
`wxCharBuffer::wxCharBuffer(const char*)':
C:/Tools/Dev-Cpp/include/wx/buffer.h:33: `strdup' undeclared (first use this
function)
C:/Tools/Dev-Cpp/include/wx/buffer.h:33: (Each undeclared identifier is
reported only once for each function it appears in.)
In file included from C:/Tools/Dev-Cpp/include/wx/memory.h:20,
from C:/Tools/Dev-Cpp/include/wx/object.h:20,
from C:/Tools/Dev-Cpp/include/wx/wx.h:16,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/string.h:170:4: #error "Please define string case-insensitive compare for your OS/compiler"
In file included from C:/Tools/Dev-Cpp/include/wx/memory.h:20,
from C:/Tools/Dev-Cpp/include/wx/object.h:20,
from C:/Tools/Dev-Cpp/include/wx/wx.h:16,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/string.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/string.h:419: `char wxString::operator[](unsigned
int) const' and `char wxString::operator[](unsigned int) const' cannot be
overloaded
C:/Tools/Dev-Cpp/include/wx/string.h:423: `char& wxString::operator[](unsigned
int)' and `char& wxString::operator[](unsigned int)' cannot be overloaded
In file included from C:/Tools/Dev-Cpp/include/c++/backward/iostream.h:31,
from C:/Tools/Dev-Cpp/include/wx/memory.h:33,
from C:/Tools/Dev-Cpp/include/wx/object.h:20,
from C:/Tools/Dev-Cpp/include/wx/wx.h:16,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/c++/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from C:/Tools/Dev-Cpp/include/wx/gdicmn.h:29,
from C:/Tools/Dev-Cpp/include/wx/event.h:23,
from C:/Tools/Dev-Cpp/include/wx/wx.h:23,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/font.h:77: parse error before `{' token
C:/Tools/Dev-Cpp/include/wx/font.h:90: non-member function `bool Ok()' cannot
have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h: In function `bool Ok()':
C:/Tools/Dev-Cpp/include/wx/font.h:90: `m_refData' undeclared (first use this
function)
C:/Tools/Dev-Cpp/include/wx/font.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/font.h:93: non-member function `bool
operator==(const wxFont&)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:93: `bool operator==(const wxFont&)' must
take exactly two arguments
C:/Tools/Dev-Cpp/include/wx/font.h:94: non-member function `bool
operator!=(const wxFont&)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:94: `bool operator!=(const wxFont&)' must
take exactly two arguments
C:/Tools/Dev-Cpp/include/wx/font.h:97: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:97: non-member function `int GetPointSize()'
cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:97: function `int GetPointSize()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:98: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:98: non-member function `int GetFamily()'
cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:98: function `int GetFamily()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:99: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:99: non-member function `int GetStyle()'
cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:99: function `int GetStyle()' is initialized
like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:100: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:100: non-member function `int GetWeight()'
cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:100: function `int GetWeight()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:101: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:101: non-member function `bool
GetUnderlined()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:101: function `bool GetUnderlined()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:102: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:102: non-member function `wxString
GetFaceName()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:102: function `wxString GetFaceName()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:103: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:103: non-member function `wxFontEncoding
GetEncoding()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:103: function `wxFontEncoding GetEncoding()'
is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:106: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:106: function `void SetPointSize(int)' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:107: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:107: function `void SetFamily(int)' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:108: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:108: function `void SetStyle(int)' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:109: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:109: function `void SetWeight(int)' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:110: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:110: function `void SetFaceName(const
wxString&)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:111: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:111: function `void SetUnderlined(bool)' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:112: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:112: function `void
SetEncoding(wxFontEncoding)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:116: non-member function `wxString
GetFamilyString()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:117: non-member function `wxString
GetStyleString()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:118: non-member function `wxString
GetWeightString()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h: In function `wxFontEncoding
GetDefaultEncoding()':
C:/Tools/Dev-Cpp/include/wx/font.h:123: `ms_encodingDefault' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/font.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/font.h:127: parse error before `protected'
In file included from C:/Tools/Dev-Cpp/include/wx/utils.h:26,
from C:/Tools/Dev-Cpp/include/wx/cursor.h:20,
from C:/Tools/Dev-Cpp/include/wx/event.h:24,
from C:/Tools/Dev-Cpp/include/wx/wx.h:23,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/filefn.h:51: syntax error before `=' token
In file included from C:/Tools/Dev-Cpp/include/wx/event.h:24,
from C:/Tools/Dev-Cpp/include/wx/wx.h:23,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/cursor.h: In destructor
`wxBusyCursorSuspender::~wxBusyCursorSuspender()':
C:/Tools/Dev-Cpp/include/wx/cursor.h:52: invalid use of undefined type `const
struct wxCursor'
C:/Tools/Dev-Cpp/include/wx/gdicmn.h:38: forward declaration of `const struct
wxCursor'
In file included from C:/Tools/Dev-Cpp/include/wx/wx.h:23,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/event.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/event.h:763: field `m_cursor' has incomplete type
C:/Tools/Dev-Cpp/include/wx/event.h: In member function `void
wxSetCursorEvent::SetCursor(const wxCursor&)':
C:/Tools/Dev-Cpp/include/wx/event.h:757: `m_cursor' undeclared (first use this
function)
In file included from C:/Tools/Dev-Cpp/include/wx/app.h:41,
from C:/Tools/Dev-Cpp/include/wx/wx.h:24,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:427: parse error before `&' token
C:/Tools/Dev-Cpp/include/wx/window.h:429: syntax error before `*' token
C:/Tools/Dev-Cpp/include/wx/window.h: In constructor
`wxWindowBase::wxWindowBase()':
C:/Tools/Dev-Cpp/include/wx/window.h:114: `InitBase' undeclared (first use this
function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `bool
wxWindowBase::IsBeingDeleted() const':
C:/Tools/Dev-Cpp/include/wx/window.h:154: `m_isBeingDeleted' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `virtual void
wxWindowBase::SetName(const wxString&)':
C:/Tools/Dev-Cpp/include/wx/window.h:171: `m_windowName' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void
wxWindowBase::SetId(int)':
C:/Tools/Dev-Cpp/include/wx/window.h:176: `m_windowId' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In static member function `static int
wxWindowBase::NewControlId()':
C:/Tools/Dev-Cpp/include/wx/window.h:181: `ms_lastControlId' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void
wxWindowBase::SetSize(int, int, int, int, int)':
C:/Tools/Dev-Cpp/include/wx/window.h:195: `DoSetSize' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void
wxWindowBase::SetClientSize(int, int)':
C:/Tools/Dev-Cpp/include/wx/window.h:218: `DoSetClientSize' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void
wxWindowBase::GetPosition(int*, int*) const':
C:/Tools/Dev-Cpp/include/wx/window.h:227: `DoGetPosition' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void
wxWindowBase::GetSize(int*, int*) const':
C:/Tools/Dev-Cpp/include/wx/window.h:236: `DoGetSize' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void
wxWindowBase::GetClientSize(int*, int*) const':
C:/Tools/Dev-Cpp/include/wx/window.h:253: `DoGetClientSize' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `wxSize
wxWindowBase::GetBestSize() const':
C:/Tools/Dev-Cpp/include/wx/window.h:264: `DoGetBestSize' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `int
wxWindowBase::GetMinWidth() const':
C:/Tools/Dev-Cpp/include/wx/window.h:296: `m_minWidth' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `int
wxWindowBase::GetMinHeight() const':
C:/Tools/Dev-Cpp/include/wx/window.h:297: `m_minHeight' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `int
wxWindowBase::GetMaxWidth() const':
C:/Tools/Dev-Cpp/include/wx/window.h:298: `m_maxWidth' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `int
wxWindowBase::GetMaxHeight() const':
C:/Tools/Dev-Cpp/include/wx/window.h:299: `m_maxHeight' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `bool
wxWindowBase::IsShown() const':
C:/Tools/Dev-Cpp/include/wx/window.h:313: `m_isShown' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `bool
wxWindowBase::IsEnabled() const':
C:/Tools/Dev-Cpp/include/wx/window.h:314: `m_isEnabled' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `virtual void
wxWindowBase::SetWindowStyleFlag(long int)':
C:/Tools/Dev-Cpp/include/wx/window.h:318: `m_windowStyle' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void
wxWindowBase::SetExtraStyle(long int)':
C:/Tools/Dev-Cpp/include/wx/window.h:330: `m_exStyle' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `const wxWindowList&
wxWindowBase::GetChildren() const':
C:/Tools/Dev-Cpp/include/wx/window.h:352: `m_children' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `wxWindow*
wxWindowBase::GetParent() const':
C:/Tools/Dev-Cpp/include/wx/window.h:356: `m_parent' undeclared (first use this
function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `wxEvtHandler*
wxWindowBase::GetEventHandler() const':
C:/Tools/Dev-Cpp/include/wx/window.h:381: `m_eventHandler' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `virtual wxValidator*
wxWindowBase::GetValidator()':
C:/Tools/Dev-Cpp/include/wx/window.h:399: `m_windowValidator' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void
wxWindowBase::SetClientObject(wxClientData*)':
C:/Tools/Dev-Cpp/include/wx/window.h:406: `DoSetClientObject' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `wxClientData*
wxWindowBase::GetClientObject() const':
C:/Tools/Dev-Cpp/include/wx/window.h:407: `DoGetClientObject' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void
wxWindowBase::SetClientData(void*)':
C:/Tools/Dev-Cpp/include/wx/window.h:409: `DoSetClientData' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void*
wxWindowBase::GetClientData() const':
C:/Tools/Dev-Cpp/include/wx/window.h:410: `DoGetClientData' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `virtual void
wxWindowBase::SetAcceleratorTable(...)':
C:/Tools/Dev-Cpp/include/wx/window.h:428: `m_acceleratorTable' undeclared
(first use this function)
C:/Tools/Dev-Cpp/include/wx/window.h:428: `accel' undeclared (first use this
function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:436: ISO C++ forbids defining types within
return type
C:/Tools/Dev-Cpp/include/wx/window.h:436: syntax error before `(' token
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxSize
ConvertPixelsToDialog(const wxSize&)':
C:/Tools/Dev-Cpp/include/wx/window.h:440: could not convert `
wxPoint(sz->wxSize::x, sz->wxSize::y)' to `const wxSize&'
C:/Tools/Dev-Cpp/include/wx/window.h:439: in passing argument 1 of `wxSize
ConvertPixelsToDialog(const wxSize&)'
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:456: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:456: function `void WarpPointer(int, int)'
is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:459: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:459: function `void CaptureMouse()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:460: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:460: function `void ReleaseMouse()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:468: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:468: function `void Refresh(bool = 1,
const wxRect* = 0)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:470: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:470: function `void Clear()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:473: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:477: non-member function `const wxRegion&
GetUpdateRegion()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `const wxRegion&
GetUpdateRegion()':
C:/Tools/Dev-Cpp/include/wx/window.h:477: `m_updateRegion' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxRegion&
GetUpdateRegion()':
C:/Tools/Dev-Cpp/include/wx/window.h:478: new declaration `wxRegion&
GetUpdateRegion()'
C:/Tools/Dev-Cpp/include/wx/window.h:477: ambiguates old declaration `const
wxRegion& GetUpdateRegion()'
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:482: non-member function `bool
IsExposed(int, int)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:483: non-member function `bool
IsExposed(int, int, int, int)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:486: non-member function `bool
IsExposed(const wxPoint&)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:488: non-member function `bool
IsExposed(const wxRect&)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:495: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:496: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:498: non-member function `wxColour
GetBackgroundColour()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxColour
GetBackgroundColour()':
C:/Tools/Dev-Cpp/include/wx/window.h:498: return type `struct wxColour' is
incomplete
C:/Tools/Dev-Cpp/include/wx/window.h:498: `m_backgroundColour' undeclared
(first use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:499: non-member function `wxColour
GetForegroundColour()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxColour
GetForegroundColour()':
C:/Tools/Dev-Cpp/include/wx/window.h:499: return type `struct wxColour' is
incomplete
C:/Tools/Dev-Cpp/include/wx/window.h:499: `m_foregroundColour' undeclared
(first use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:503: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:504: non-member function `const wxCursor&
GetCursor()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `const wxCursor&
GetCursor()':
C:/Tools/Dev-Cpp/include/wx/window.h:504: new declaration `const wxCursor&
GetCursor()'
C:/Tools/Dev-Cpp/include/wingdi.h:2544: ambiguates old declaration `HICON__*
GetCursor()'
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxCursor& GetCursor()':
C:/Tools/Dev-Cpp/include/wx/window.h:505: new declaration `wxCursor&
GetCursor()'
C:/Tools/Dev-Cpp/include/wx/window.h:504: ambiguates old declaration `const
wxCursor& GetCursor()'
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:509: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:509: function `bool SetFont(const wxFont&)
' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:510: non-member function `const wxFont&
GetFont()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `const wxFont& GetFont()':
C:/Tools/Dev-Cpp/include/wx/window.h:510: `m_font' undeclared (first use this
function)
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxFont& GetFont()':
C:/Tools/Dev-Cpp/include/wx/window.h:511: new declaration `wxFont& GetFont()'
C:/Tools/Dev-Cpp/include/wx/window.h:510: ambiguates old declaration `const
wxFont& GetFont()'
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:517: non-member function `wxCaret*
GetCaret()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxCaret* GetCaret()':
C:/Tools/Dev-Cpp/include/wx/window.h:517: `m_caret' undeclared (first use this
function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:521: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:521: non-member function `int
GetCharHeight()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:521: function `int GetCharHeight()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:522: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:522: non-member function `int
GetCharWidthA()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:522: function `int GetCharWidthA()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:531: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:531: non-member function `void
GetTextExtent(const wxString&, int*, int*, int*, int*, const wxFont*)'
cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:531: function `void GetTextExtent(const
wxString&, int*, int*, int* = 0, int* = 0, const wxFont* = 0)' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:535: non-member function `void
ClientToScreen(int*, int*)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `void ClientToScreen(int*,
int*)':
C:/Tools/Dev-Cpp/include/wx/window.h:535: `DoClientToScreen' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:537: non-member function `void
ScreenToClient(int*, int*)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `void ScreenToClient(int*,
int*)':
C:/Tools/Dev-Cpp/include/wx/window.h:537: `DoScreenToClient' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:539: non-member function `wxPoint
ClientToScreen(const wxPoint&)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:547: non-member function `wxPoint
ScreenToClient(const wxPoint&)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `bool PopupMenu(wxMenu*,
const wxPoint&)':
C:/Tools/Dev-Cpp/include/wx/window.h:560: `DoPopupMenu' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:572: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:572: function `void SetScrollbar(int, int,
int, int, bool = 1)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:573: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:573: function `void SetScrollPos(int, int,
bool = 1)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:574: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:574: non-member function `int
GetScrollPos(int)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:574: function `int GetScrollPos(int)' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:575: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:575: non-member function `int
GetScrollThumb(int)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:575: function `int GetScrollThumb(int)' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:576: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:576: non-member function `int
GetScrollRange(int)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:576: function `int GetScrollRange(int)' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:580: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:580: function `void ScrollWindow(int, int,
const wxRect* = 0)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h: In function `void
SetToolTip(wxToolTip*)':
C:/Tools/Dev-Cpp/include/wx/window.h:588: `DoSetToolTip' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:590: non-member function `wxToolTip*
GetToolTip()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxToolTip* GetToolTip()':
C:/Tools/Dev-Cpp/include/wx/window.h:590: `m_tooltip' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:598: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:598: function `void
SetDropTarget(wxDropTarget*)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:599: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:599: non-member function `wxDropTarget*
GetDropTarget()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxDropTarget*
GetDropTarget()':
C:/Tools/Dev-Cpp/include/wx/window.h:599: `m_dropTarget' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:607: non-member function `
wxLayoutConstraints* GetConstraints()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxLayoutConstraints*
GetConstraints()':
C:/Tools/Dev-Cpp/include/wx/window.h:607: `m_constraints' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In function `void SetAutoLayout(bool)':
C:/Tools/Dev-Cpp/include/wx/window.h:612: `m_autoLayout' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:613: non-member function `bool
GetAutoLayout()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:616: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:621: non-member function `wxWindowList*
GetConstraintsInvolvedIn()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxWindowList*
GetConstraintsInvolvedIn()':
C:/Tools/Dev-Cpp/include/wx/window.h:621: `m_constraintsInvolvedIn' undeclared
(first use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:628: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:629: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:630: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:631: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:634: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:635: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:636: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:636: non-member function `void
GetSizeConstraint(int*, int*)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:637: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:637: non-member function `void
GetClientSizeConstraint(int*, int*)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:638: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:638: non-member function `void
GetPositionConstraint(int*, int*)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:643: non-member function `wxSizer*
GetSizer()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxSizer* GetSizer()':
C:/Tools/Dev-Cpp/include/wx/window.h:643: `m_windowSizer' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:668: syntax error before `(' token
C:/Tools/Dev-Cpp/include/wx/window.h:677: `wxWindow*m_parent' used prior to
declaration
C:/Tools/Dev-Cpp/include/wx/window.h:678: `wxWindowList m_children' used prior
to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:682: `int m_minWidth' used prior to
declaration
C:/Tools/Dev-Cpp/include/wx/window.h:682: `int m_minHeight' used prior to
declaration
C...
[truncated message content] |
|
From: <ca...@kr...> - 2004-03-02 08:30:08
|
hi again,
> I'm not new to devcpp but to wxwidgets.
still true. but the problem was (partly) solved. I now completely
reinstalled devcpp with all the packages and now it works!
BUT!
the example application
// Name: minimal.cpp
// Purpose: Minimal wxWindows sample
// Author: Julian Smart
// Modified by:
// Created: 04/01/98
// RCS-ID: $Id: minimal.cpp,v 1.57 2002/04/07 21:12:45 JS Exp $
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
compiles and runs but throws an error on exit.
how is that..?
gruss
/Christian mailto:ca...@kr...
--
I propose that the following character sequence for joke markers:
:-)
19-Sep-82 11:44 Scott E Fahlman
|
|
From: Per W. <pw...@ia...> - 2004-03-02 08:49:37
|
Your previous problem was that the template file for wxWindows applications missed a number of needed flags. Anyway, you don't happen to have a bit more information about what error you get? /Per W On Tue, 2 Mar 2004, [ISO-8859-15] Christian Sch=E4fer wrote: > hi again, > > > I'm not new to devcpp but to wxwidgets. > > still true. but the problem was (partly) solved. I now completely > reinstalled devcpp with all the packages and now it works! > > BUT! > > the example application > > // Name: minimal.cpp > // Purpose: Minimal wxWindows sample > // Author: Julian Smart > // Modified by: > // Created: 04/01/98 > // RCS-ID: $Id: minimal.cpp,v 1.57 2002/04/07 21:12:45 JS Exp $ > // Copyright: (c) Julian Smart > // Licence: wxWindows licence > > compiles and runs but throws an error on exit. > how is that..? > > > > gruss > /Christian mailto:ca...@kr... > > -- > I propose that the following character sequence for joke markers: > > :-) > 19-Sep-82 11:44 Scott E Fahlman > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: <ca...@kr...> - 2004-03-02 09:08:03
|
hi Per,
Tuesday, March 2, 2004, 9:36:47 AM, you wrote:
> Your previous problem was that the template file for wxWindows
> applications missed a number of needed flags.
> Anyway, you don't happen to have a bit more information about what error
> you get?
not exactly no.
I open the example mentioned, I compile it, I run it, I menupick
"file/exit" and it crashes...
remember, I have not edited anything in the example code...
gruss
/Christian mailto:ca...@kr...
--
I propose that the following character sequence for joke markers:
:-)
19-Sep-82 11:44 Scott E Fahlman
|
|
From: <ca...@kr...> - 2004-03-02 09:13:31
|
hi Per,
solved it. I just localized the menuitems to german language and
somehow (do not ask! ;-) it now works... ;-)
gruss
/Christian mailto:ca...@kr...
--
I propose that the following character sequence for joke markers:
:-)
19-Sep-82 11:44 Scott E Fahlman
|
|
From: Per W. <pw...@ia...> - 2004-03-02 09:52:55
|
So, the example code is a bit broken and doesn't correctly handle missing resources... I have seen in a number of examples that they have been produced in a bit of hurry. /Per W On Tue, 2 Mar 2004, Christian Sch=E4fer wrote: > hi Per, > > solved it. I just localized the menuitems to german language and > somehow (do not ask! ;-) it now works... ;-) > > > > > gruss > /Christian mailto:ca...@kr... > > -- > I propose that the following character sequence for joke markers: > > :-) > 19-Sep-82 11:44 Scott E Fahlman > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |