News:

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

Main Menu

wxSmith isues

Started by gtafan, January 30, 2018, 01:39:47 PM

Previous topic - Next topic

gtafan

#31
Quote from: BlueHazzard on February 10, 2018, 05:39:24 PM
Here we are:
https://sourceforge.net/p/codeblocks/tickets/616/
https://sourceforge.net/p/codeblocks/tickets/617/
Cool thanks. But how to instal such patch? And does the patch worck only with the latest CodeBlocks version?
Also that simpleBook would be a nice to have widget.

BlueHazzard

You have to compile codeblocks by yourself to get the latest features, or wait for a nightly build. At the moment only wxSpinCtrlDouble  is in trunk (https://sourceforge.net/p/codeblocks/code/HEAD/tree/ ), for the StyledTextCtrl you have to wait until a developer has reviewed the code and pushed to trunk.

How to compile codeblocks from source: http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Windows
But be aware, this is a old guide and you have to use the wx30 workspace and fix al paths and settings accordingly. I have lost my wiki password, and i don't get any answer from the admin so i can not fix the wiki entries...

gtafan

Quote from: BlueHazzard on February 13, 2018, 05:00:04 PM
You have to compile codeblocks by yourself to get the latest features, or wait for a nightly build. At the moment only wxSpinCtrlDouble  is in trunk (https://sourceforge.net/p/codeblocks/code/HEAD/tree/ ), for the StyledTextCtrl you have to wait until a developer has reviewed the code and pushed to trunk.

How to compile codeblocks from source: http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Windows
But be aware, this is a old guide and you have to use the wx30 workspace and fix al paths and settings accordingly. I have lost my wiki password, and i don't get any answer from the admin so i can not fix the wiki entries...
So it´s much complicated, that I thought. I thought, that I have just to replace wxSmith stuff.
I personally not really interested in StyledTextCtrl, but since it was avaible in wxDev see no reason why it shouldn´t be suported in wxSmith. Also could you post the request for wxSimplebook there? The widget is also not a priority for me personally, but it´s the only mising book widget.

gtafan

Also would be nice to have a posibility to start a clean framebased wxSmith project, without menu and status bars.

gtafan

There is no posibility to set ScrollRate values for wxScrolledWindow in wxSmith. Fixing that would be really helpfull.

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

BlueHazzard

QuoteThere is no posibility to set ScrollRate values for wxScrolledWindow in wxSmith. Fixing that would be really helpfull.

this is probably one line in your own code ;)

All requests here will get lost, there is no nice possibility to track a forum entry so it will get lost ( i look only for forum posts maybe 2 months olt at max, in the SF bug tracker i look quite ferquently for old bugs and try to post patches). Make a ticket on SF and probably post the forum link there, so it is fixed somewhere.

gtafan

Quote from: BlueHazzard on February 26, 2018, 05:31:35 PM
QuoteThere is no posibility to set ScrollRate values for wxScrolledWindow in wxSmith. Fixing that would be really helpfull.

this is probably one line in your own code ;)

All requests here will get lost, there is no nice possibility to track a forum entry so it will get lost ( i look only for forum posts maybe 2 months olt at max, in the SF bug tracker i look quite ferquently for old bugs and try to post patches). Make a ticket on SF and probably post the forum link there, so it is fixed somewhere.
I know that seting ScrollRate manually takes just 1 line, but the scroling still not worcking properlly after that, so I tought if ScrollRate is set properlly it could fix the problem, but am not really shure about that animore.

gtafan

I tried to add bitmaps to my menu items and in wxSmith it looked OK:







but after compiling the bitmaps are f**ked up like this:



In the coresponding wxWidgets subfolder the images looks also OK, so I really not understanding, why I am geting such sh*t.

sodev

Different ArtProvider, looks like your application uses another one by default than CodeBlocks, try to set one explicit before loading any ressources.

gtafan

Quote from: sodev on March 21, 2018, 05:06:40 PM
Different ArtProvider, looks like your application uses another one by default than CodeBlocks, try to set one explicit before loading any ressources.
And how should I set it?

sodev

Well, technically http://docs.wxwidgets.org/trunk/classwx_art_provider.html, but apparently, in contrast to the Art-Providers for the various AUI-Elements, there is only one implementation available.

Your screenshots are from windows so themes are also not a problem. But your previous screenshots show that your CodeBlocks is compiled against wxWidgets 2.8, is your application by chance compiled against wxWidgets 3.x? Because i just did a test with my wxWidgets 3.x trunk version and my icons look like your "wrong" ones. While there are still xpm's with the "correct" look available, there seem to be also tango-style versions present, sadly only as char-arrays with png raw-pixeldata and i didnt convert them into pictures to see how they look. So probably the Art-Provider picks these up instead, no idea how this can be changed.

gtafan

Quote from: sodev on March 22, 2018, 06:28:00 PM
Well, technically http://docs.wxwidgets.org/trunk/classwx_art_provider.html, but apparently, in contrast to the Art-Providers for the various AUI-Elements, there is only one implementation available.

Your screenshots are from windows so themes are also not a problem. But your previous screenshots show that your CodeBlocks is compiled against wxWidgets 2.8, is your application by chance compiled against wxWidgets 3.x? Because i just did a test with my wxWidgets 3.x trunk version and my icons look like your "wrong" ones. While there are still xpm's with the "correct" look available, there seem to be also tango-style versions present, sadly only as char-arrays with png raw-pixeldata and i didnt convert them into pictures to see how they look. So probably the Art-Provider picks these up instead, no idea how this can be changed.
Have no idea which wxWidget version was used to compile my CodeBlocks version agains, as I have instaled a compiled version. Looks like the best solution would be to have that icons included hardcoded in the rc file.

oBFusCATed

You can see this on the start here page or in the about dialog.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]