User forums > General (but related to Code::Blocks)
Code::Block on Ubuntu 7.04 - SVN version (wizard puts '.' in the class name).
(1/1)
momaa:
Hello,
I have downloaded and compiled Code::Blocks from the svn repository
$ svn checkout http://svn.berlios.de/svnroot/repos/codeblocks/trunk
I created a new wxWidgets 2.6 (and 2.8 ) project with the name "test". The project was created Ok but the wizard put a "." into class name instead of "_". The "." makes the generated code erroneous.
Selected options were:
Preferred GUI builder: None
Application type: Frame Type
And "Use default wxWidgets configuration".
The wizard script is /usr/local/share/codeblocks/templates/wizard/wxwidgets/wizard.script
wxWizard project "test":
--- Code: ---/***************************************************************
* Name: test.cbpMain.h
* Purpose: Defines Application Frame
* Author: ()
* Created: 2007-05-31
* Copyright: ()
* License:
**************************************************************/
#ifndef TEST.CBPMAIN_H
#define TEST.CBPMAIN_H
#include "test.cbpApp.h"
class test.cbpFrame: public wxFrame
{
public:
test.cbpFrame(wxFrame *frame, const wxString& title);
~test.cbpFrame();
private:
enum
{
idMenuQuit = 1000,
idMenuAbout
};
void OnClose(wxCloseEvent& event);
void OnQuit(wxCommandEvent& event);
void OnAbout(wxCommandEvent& event);
DECLARE_EVENT_TABLE()
};
#endif // test.cbpMAIN_H
--- End code ---
My operating system is Ubuntu 7.04 Linux.
C::B installation instructions are here: http://ubuntuforums.org/showthread.php?p=1962696#post1962696
BTW: Many thanks for a superb IDE.
Cheers,
// moma
http://www.futuredesktop.org <-- Ubuntu stuff
Biplab:
Thanks for the feedback. I'll fix it. :)
Edit 1: Fixed in revision 4023.
momaa:
Thank you.
SVN version 4023 fixed it. :D
Case closed.
Navigation
[0] Message Index
Go to full version