Author Topic: wxSmith isues  (Read 3596 times)

Offline sodev

  • Almost regular
  • **
  • Posts: 149
Re: wxSmith isues
« Reply #45 on: March 23, 2018, 09:19:02 pm »
Or at the look of the disabled toolbar icons, they look much better on wxWidgets 3.x ;). Plus the fact that only wxWidgets 3.x ships with the Tango-Style Art-Provider.

This is indeed the problem, your application uses wxWidgets 3.x and by default this version includes three different Art-Providers: Native, Tango and Standard, wxWidgets 2.8 only has Standard. Sadly you cannot choose directly at runtime which one to use, they form are chain and are tried in order until the ressource is found. You can either recompile your library and disable Tango (with setup.h) or you can go the crazy route and wxArtProvider::Pop() one (or two if wxArtProvider::HasNativeProvider() returns true) at runtime, but the Standard provider returns quite some ugly icons for some items. Or you can figure out how to access the Standard icons directly, because they are included in the library, but this for sure is the least portable way :).

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: wxSmith isues
« Reply #46 on: March 24, 2018, 08:53:23 pm »
Hardcoded solution seems to be the best one, just have included the xpms. Would be cool to have a wizard helping including the xpms to avoid manually tiping the complete path.

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: wxSmith isues
« Reply #47 on: March 27, 2018, 03:50:50 pm »
Also would be cool to have in that image editor, already seen in my Reply #39, an option to include from xpm.

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1846
Re: wxSmith isues
« Reply #48 on: March 27, 2018, 04:36:47 pm »
As always, tickets would be a better place to collect feature requests....

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: wxSmith isues
« Reply #49 on: March 28, 2018, 12:10:50 pm »
As always, tickets would be a better place to collect feature requests....
I know, you have tolld it already, but tickets are a problem for me.

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: wxSmith isues
« Reply #50 on: March 30, 2018, 01:36:09 pm »
At the moment wxSmith suports only cresting native version of dialogs, but an option where you can select generic version instead would be very helpfull.
Also if tallking about dialogs, a posibility to ad a custom dialog with an option to select from dialogs avaible in the project would be really usefull and save a lot of time.

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1846
Re: wxSmith isues
« Reply #51 on: March 31, 2018, 10:37:56 am »
Quote
At the moment wxSmith suports only cresting native version of dialogs, but an option where you can select generic version instead would be very helpfull.
Can you give some link where the difference of "native" and "generic" is described? I don't know what you mean by this...
Quote
ad a custom dialog with an option to select from dialogs avaible in the project would be really usefull and save a lot of time.
You mean copy a dialog, or some kind of template? The first would be easy, the second a lot work...

I think the next thing i will work on in wxSmith is to implement the wxPropertyGrid in some very basic way. Since wxPG is supported within >wx3 i think it would be nice to have it...

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: wxSmith isues
« Reply #52 on: March 31, 2018, 04:57:30 pm »
Have no link explaining the diference between generic and native version in general, but I try to explain in my ugly english. It's all about look and feel of a dialog, native ones use OS native look and feel while generic looks more or less the same on every OS. Generic versions of dialogs have names with Generic inserted after wx, example wxGenericDirDialog.
Unfortunatelly the most generic dialogs are not in the documentation.
« Last Edit: April 03, 2018, 04:44:04 pm by gtafan »

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: wxSmith isues
« Reply #53 on: April 03, 2018, 03:47:05 pm »
You mean copy a dialog, or some kind of template? The first would be easy, the second a lot work...
So here some example of what I mean, you can create custom dialogs like this:



have created 2 here:



now something like this could be helpfull:



The same thing could be done for custom panels:







Also have a feature here that was avaible for wxListCtrl in wxDev, but missing badly in wxSmith:










Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1846
Re: wxSmith isues
« Reply #54 on: April 05, 2018, 10:05:16 am »
I am still not quite sure what you want? A dialog to open the windows, or a dialog to create a copy of a window? Something like the key combination "Alt+G" for source files?

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1846
Re: wxSmith isues
« Reply #55 on: April 05, 2018, 10:30:56 am »
A list of improvements for the wxSmith plugin created in this forum so far:


[edit1:] Add point 8
[edit2:] Add point 9
« Last Edit: April 06, 2018, 06:47:42 pm by BlueHazzard »

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: wxSmith isues
« Reply #56 on: April 05, 2018, 04:09:49 pm »
I am still not quite sure what you want? A dialog to open the windows, or a dialog to create a copy of a window? Something like the key combination "Alt+G" for source files?
OK, I try to explain again: with wxSmith you can add dialogs like wxFileDialog, wxDirDialog, etc..., would be nice to be able to add custom dialogs, which you have created for the project. The same thing with custom Panels.

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: wxSmith isues
« Reply #57 on: April 06, 2018, 01:36:22 pm »
A list of improvements for the wxSmith plugin created in this forum so far:


[edit1:] Add point 8
wxSimplebook is mising in that list.