Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
wxWidget project wizard
killerbot:
suggestion : in case of linux could the "`wx-config --libs` and `wx-config --cflags`" be put at the project level instead of at the targets 'debug and release' level. Since it applies unchanged to both.
So in case they must be changed (OpenSuse wx-config-2.8) there's only one place to adjust.
Biplab:
Nice catch. Thanks for pointing it. :)
I'll make necessary changes.
killerbot:
in my case I created a little dialog app. So I ended up with 1 wxs file. But that file was NOT added to the project, so that means if I change it and then build, it does NOT get autosaved !!!
Could you fix this too ?
Biplab:
--- Quote from: killerbot on July 06, 2007, 02:48:37 pm ---in my case I created a little dialog app. So I ended up with 1 wxs file. But that file was NOT added to the project, so that means if I change it and then build, it does NOT get autosaved !!!
Could you fix this too ?
--- End quote ---
I'll try to fix this too. :)
killerbot:
I have a few more questions or maybe remarks about the wx project wizard (focusing on the wxSmith track) :
When I have the wizard create me a wxSmith project (dialog based) I have in the
blablaMain.cpp, the following includes :
--- Code: ---//(*InternalHeaders(blablaDialog)
#include <wx/bitmap.h>
#include <wx/font.h> //wxFont
#include <wx/fontenum.h>
#include <wx/fontmap.h>
#include <wx/image.h>
#include <wx/intl.h> // _()
#include <wx/settings.h> // wxSystemSettings, wxSystemSettings
#include <wx/string.h> // wxString
//*)
--- End code ---
I *think* that the following are NOT needed :
1) wx/bitmap.h
2) wx.fontenum.h
3) wx/fontmap.h
4) wx/image.h
Is this correct ?
A remark about readability : several methods their arguments are all concatenated without any whitespace in between, which makes it hard to read. Is it possible to insert a space (no tab ;-) ) ?
Turn :
--- Code: --- Create(parent,id,_("wxWidgets app"),wxDefaultPosition,wxDefaultSize,wxDEFAULT_DIALOG_STYLE,_T("wxDialog"));
--- End code ---
into :
--- Code: --- Create(parent, id, _("wxWidgets app"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE, _T("wxDialog"));
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version