Author Topic: The 13 October 2007 build (4530) is out.  (Read 24845 times)

Offline jsibarani

  • Multiple posting newcomer
  • *
  • Posts: 31
Re: The 13 October 2007 build (4530) is out.
« Reply #15 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* ;
//*)

And this problem also affect my existing sources.

Creating dialog without xrc resources,  wxBoxSizer* doesn't get generated


I'm using winXP pro sp2


Offline Grom

  • Almost regular
  • **
  • Posts: 206
Re: The 13 October 2007 build (4530) is out.
« Reply #16 on: October 15, 2007, 04:53:27 pm »
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()
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.

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: The 13 October 2007 build (4530) is out.
« Reply #17 on: October 15, 2007, 07:05:42 pm »
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* ;
//*)


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

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: The 13 October 2007 build (4530) is out.
« Reply #18 on: October 15, 2007, 07:09:29 pm »
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

Offline Grom

  • Almost regular
  • **
  • Posts: 206
Re: The 13 October 2007 build (4530) is out.
« Reply #19 on: October 15, 2007, 09:03:49 pm »
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.