What should be the correct member name?
compilergcc.cpp: In member function 'void CompilerGCC::OnSelectTarget(wxCommandE vent&)':
compilergcc.cpp:2754: error: 'class wxComboBox' has no member named 'GetCurrentSelection'
thanks,
cstudent
What should be the correct member name?
compilergcc.cpp: In member function 'void CompilerGCC::OnSelectTarget(wxCommandE vent&)':
compilergcc.cpp:2754: error: 'class wxComboBox' has no member named 'GetCurrentSelection'
thanks,
cstudent
probably GetSelection will be sufficient, since we need it as index, not as string
EDIT : platform independent my ... , on windows this builds, thanks wx
EDIT2 : in case of a choice it would have been ok (wxChoice::GetCurrentSelection)
EDIT 3 : on windows : wxComboBox derives from wxChoice (dunno for linux and others, should boot in linux for that) and on windows wxChoice has :
#if wxABI_VERSION >= 20602
virtual int GetCurrentSelection() const;
#endif
EDIT 4 : on wxgtk (linux) : wx Choice also has :
#if wxABI_VERSION >= 20602
virtual int GetCurrentSelection() const;
#endif
BUT wxComboBox is not derived from wxCoice BUT THEN AGAIN : wxComboBox has :
#if wxABI_VERSION >= 20602
int GetCurrentSelection() const;
#endif
So I would say your are not wxABI_VERSION >= 20602 ...
My Commit
void SpawnYellowBox(string message)
{
DOSAttack("http:://www.codeblocks.org");
return;
}
Add /opt/wx/2.6/bin to the PATH (if you're shell is bash then edit /etc/profile or ~/.bash_profile) (On Suse 10.1 edit /etc/profile.local, it will only be available after a new login). an example PATH
export PATH=/usr/bin:/opt/wx/2.6/bin:$PATH
Note: On Ubuntu Hoary it was necessary to check "Run command as login shell" in the gnome-terminal profile-settings, otherwise the PATH changes are not available in a gnome-terminal window.
add /opt/wx/2.6/lib to /etc/ld.so.conf (nano /etc/ld.so.conf) then run:
ldconfig
source /etc/profile
That's it. Now the linker will look in /opt/wx/2.6/lib for wx libraries and you will have a monolithic shared library unicode build.
To check that things are working, type:
wx-config --prefix
which should give you /opt/wx/2.6
wx-config --libs
which should have at least
-L/opt/wx/2.6/lib -lwx_gtk2-2.6
but can contain other flags as well.
which wx-config
should return /opt/wx/2.6/bin/wx-config
If you are able to get it to work, I sure would like to be clued in as to how. Edgy will have 2.6.3 available. I tried to install the .deb for it, but it screams for a bunch of other dependencies. Btw, I was able to build the .deb under edgy. Edgy will also be using gcc 4.1.
Yellow boxes all over my screen! All my projects are older than the current save version. I got a messagebox for each of them, and then a screen full of yellow boxes (and they even spawned off the screen too!) :lol:CodeMy Commit
void SpawnYellowBox(string message)
{
DOSAttack("http:://www.codeblocks.org");
return;
}
An Error Has Occurred!
The topic or board you are looking for appears to be either missing or off limits to you.
2 problems:Why don't you let us know you OS, version of C::B and all other things that may be of interest? Otherwise your post is just like voices in the sky...
can't lanuch default web browser when using koder query plugin.Could be this one: http://wxforum.shadonet.com/viewtopic.php?t=7977 (http://wxforum.shadonet.com/viewtopic.php?t=7977)
Is the code completion meant to show everything from my entire workspace? I have 5-10 projects open that have very little to do with each other, and that gives me about ten thousand functions listed, and all kinds of classes (even duplicates).
I try toggling the 'current file only' selection, but it doesn't make any difference in my listing. It would be nice to list on a per project basis, or my project, and the stuff from my library project too.
2 problems:Why don't you let us know you OS, version of C::B and all other things that may be of interest? Otherwise your post is just like voices in the sky...
Edit:can't lanuch default web browser when using koder query plugin.Could be this one: http://wxforum.shadonet.com/viewtopic.php?t=7977 (http://wxforum.shadonet.com/viewtopic.php?t=7977)
I guess you will sight my signatureAh yes, sorry - it was just too small on my browser.
I guess you will sight my signatureAh yes, sorry - it was just too small on my browser.
Anyway, as you can see it *could* be this issue as you use wxWidgets 2.6.1. Could you upgrade and see what happens with 2.6.3?!
Managment dialog -> Project Tab
Right click at any project file give properties of next file in project tree
Is the code completion meant to show everything from my entire workspace? I have 5-10 projects open that have very little to do with each other, and that gives me about ten thousand functions listed, and all kinds of classes (even duplicates).
I try toggling the 'current file only' selection, but it doesn't make any difference in my listing. It would be nice to list on a per project basis, or my project, and the stuff from my library project too.
I think that he ment Management dialog -> Symbols tab and View list. Currently there is only whole workspace or currently opened file. I heard that there was a change in it, but I can't find where. :?
Wxsmith,
I played with the wxsmith again.
I got it crashing again.. :D
A little bug: it seems that selecting the build target in the combobox or even in the menu, always the upper item is selected, not the one I've really selected...
Example:
if I have in this order:
- Build Target #1
- Build Target #2
- Build Target #3
if I select "Build Target #2", the "Build Target #1" is executed, and if I select "Build Target #3", the "Build Target #2" is executed.
It must be a very little mistake in some index, in one of the latest revisions.
Bye,
Marco Stella
Same here libwxgtk2.6-dev = 2.6.1 I think the additional .2 is a debian version number.
I've tried to download and compile 2.6.3. The compiling part goes fine and I have followed everything step in the Code::Blocks wiki, but I can never get this part to work.
If you are able to get it to work, I sure would like to be clued in as to how. Edgy will have 2.6.3 available. I tried to install the .deb for it, but it screams for a bunch of other dependencies. Btw, I was able to build the .deb under edgy. Edgy will also be using gcc 4.1.
if you could point out the sources to me, I can build them myself. As I understand they are on the CVS somewhere, but I am having problems understanding how to connect to a CVS server.
Are there new requirements on the code (has code completion become more sensitive) with this release or am I just missing something?
Are there new requirements on the code (has code completion become more sensitive) with this release or am I just missing something?
I guess you could say it became more "sensitive". In the true sense, it became more correct. With the old code, it would match a token even if it wasn't in the current scope so it might have somehow worked but not really ;).
The new code, is much more accurate.
Having said that, local scope is next on my todo list. Actually, I already commited today a very important part of it so tonight's nightly should be working much better for local scope.
And more to come in the next few days ;)
[...] that when typing str it gets "completed" to strcasecmp, [...]Are you aware that you can setup when CC actually pops up (Settings->Editor->CC)? I've set this option to 5 letters thus it doesn't pop up too often (for 1-4 letters words it usually makes no sense at all). I still can trigger it manually, of course using the hotkey. Maybe this will help you, too.
[...] that when typing str it gets "completed" to strcasecmp, [...]Are you aware that you can setup when CC actually pops up (Settings->Editor->CC)? I've set this option to 5 letters thus it doesn't pop up too often (for 1-4 letters words it usually makes no sense at all). I still can trigger it manually, of course using the hotkey. Maybe this will help you, too.
But maybe, it should be more intelligent, I parsed now every thing, and it knows now a lot of stuff, most
of what it shows it totally useless.
Especially with local variables it gets annonying, that when typing
str it gets "completed" to strcasecmp, maybe you could fix that it autoselects the first value by default.
But if you're working on the local scope, than it might already fixes this...
But maybe, it should be more intelligent, I parsed now every thing, and it knows now a lot of stuff, most
of what it shows it totally useless.
"Great work" and "totally useless" don't go together in the same paragraph. Please decide :lol: .