News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

The 13 October 2007 build (4530) is out.

Started by killerbot, October 13, 2007, 06:58:57 PM

Previous topic - Next topic

jsibarani

wow,thanks for the new features , byo.

i created new dialog with xrc resource file.
but wxsmith generates wrong code

class wxBoxSizer;
//*)

class LoginDialog: public wxDialog
{
public:

LoginDialog(wxWindow* parent);
virtual ~LoginDialog();

//(*Declarations(LoginDialog)
wxBoxSizer* ;
//*)


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
Quotesrc/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()
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


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.
gcc+winXP+suse.

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

class wxBoxSizer;
//*)

class LoginDialog: public wxDialog
{
public:

LoginDialog(wxWindow* parent);
virtual ~LoginDialog();

//(*Declarations(LoginDialog)
wxBoxSizer* ;
//*)



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!



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!!!
gcc+winXP+suse.