User forums > Nightly builds
The 13 October 2007 build (4530) is out.
jsibarani:
wow,thanks for the new features , byo.
i created new dialog with xrc resource file.
but wxsmith generates wrong code
--- Code: ---class wxBoxSizer;
//*)
class LoginDialog: public wxDialog
{
public:
LoginDialog(wxWindow* parent);
virtual ~LoginDialog();
//(*Declarations(LoginDialog)
wxBoxSizer* ;
//*)
--- End code ---
And this problem also affect my existing sources.
Creating dialog without xrc resources, wxBoxSizer* doesn't get generated
I'm using winXP pro sp2
Grom:
--- Quote from: eranif on October 15, 2007, 08:10:46 am ---
--- Quote ---src/wxscintilla.cpp:1639: error: prototype for 'int wxScintilla::GetEndAtLastLine()' does not match any in class 'wxScintilla'
/usr/include/wx-2.8/wx/wxscintilla.h:2676: error: candidate is: bool wxScintilla::GetEndAtLastLine()
--- End quote ---
It looks like that your compiler is looking for function int wxScintilla:GetEndAtLastLine(), while the actual function returns bool
Maybe you have somewhere a define for -Dbool=int ?
or #define bool int
I know it was a solution couple of years ago when not all compilers had 'bool' has valid C++ type.
Eran
--- End quote ---
I used gcc 4.2.1 from stanfart OpenSUSE 10.3 instalation. Would be grate to have a nightly buid for the OpenSUSE 10.3. I am not familiar with C::B compulation and I see that is not trivial task.
byo:
--- Quote from: jsibarani on October 15, 2007, 09:27:23 am ---wow,thanks for the new features , byo.
i created new dialog with xrc resource file.
but wxsmith generates wrong code
--- Code: ---class wxBoxSizer;
//*)
class LoginDialog: public wxDialog
{
public:
LoginDialog(wxWindow* parent);
virtual ~LoginDialog();
//(*Declarations(LoginDialog)
wxBoxSizer* ;
//*)
--- End code ---
--- End quote ---
Ok, I know where's the problem - when using XRC file sizers can not be used as members of resource since can not easily obtain pointer to such sizer. It should be easy to fix :)
BYO
byo:
--- Quote from: pdsonic on October 15, 2007, 08:39:06 am ---Finally had a chance to try revision 4530.
It works nicely, Thanks byo!
:D
Thank you for wxSmith. It is just what we needed and it is free to boot!
--- End quote ---
Nice to hear that :)
BYO
Grom:
Is somebody responsible for the C::B compilation under the OpenSUSE? :shock: I have troubles to launch the C::B under the OpenSuse 10.3!!!
Navigation
[0] Message Index
[*] Previous page
Go to full version