Author Topic: wxSmith isues  (Read 3168 times)

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1826

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: wxSmith isues
« Reply #31 on: February 13, 2018, 01:57:04 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.
« Last Edit: February 13, 2018, 03:27:18 pm by gtafan »

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1826
Re: wxSmith isues
« Reply #32 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...

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: wxSmith isues
« Reply #33 on: February 14, 2018, 01:10:27 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.

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: wxSmith isues
« Reply #34 on: February 16, 2018, 12:47:04 pm »
Also would be nice to have a posibility to start a clean framebased wxSmith project, without menu and status bars.

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: wxSmith isues
« Reply #35 on: February 26, 2018, 01:16:51 pm »
There is no posibility to set ScrollRate values for wxScrolledWindow in wxSmith. Fixing that would be really helpfull.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6193
    • My Best Post
Re: wxSmith isues
« Reply #36 on: February 26, 2018, 05:19:38 pm »
Patches welcomed!

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Testing, compiling CB Trunk against wxWidgets 3.0.2.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1826
Re: wxSmith isues
« Reply #37 on: February 26, 2018, 05:31:35 pm »
Quote
There 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.

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: wxSmith isues
« Reply #38 on: February 27, 2018, 12:00:53 pm »
Quote
There 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.

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: wxSmith isues
« Reply #39 on: March 21, 2018, 12:01:44 pm »
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.

Offline sodev

  • Almost regular
  • **
  • Posts: 139
Re: wxSmith isues
« Reply #40 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.

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: wxSmith isues
« Reply #41 on: March 22, 2018, 02:06:19 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?

Offline sodev

  • Almost regular
  • **
  • Posts: 139
Re: wxSmith isues
« Reply #42 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.

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: wxSmith isues
« Reply #43 on: March 23, 2018, 11:54:02 am »
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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10802
    • Travis build status
Re: wxSmith isues
« Reply #44 on: March 23, 2018, 07:45:40 pm »
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!]