Code::Blocks

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: gtafan on January 30, 2018, 01:39:47 pm

Title: wxSmith isues
Post by: gtafan on January 30, 2018, 01:39:47 pm
I am using CodeBlocks and wxSmith for writing GUI applications and it worcks fine for me in most cases, but there are still some smaller problems with wxSmith like wrong sizing of windows with only 1 child. An other isue is that some widgets canīt be added using wxSmith like for example wxSimplebook and wxSpinCtrlDouble. I know that the mising widgets can be added manually, but first itīs huge pain in the as and second it makes editing the code complicated.
Have to mention, that I am stil on CodeBlocks 16.1, so my wxSmith version is the one included in official 16.1 release.
Title: Re: wxSmith isues
Post by: oBFusCATed on January 30, 2018, 07:08:05 pm
Adding widgets to wxsmith shouldn't be too hard.
For the others you need to post simple examples with steps to reproduce the problems.
Saying "wrong sizing of windows with only 1 child" is not a good way to report a problem...
Title: Re: wxSmith isues
Post by: gtafan on February 01, 2018, 01:05:21 pm
Adding widgets to wxsmith shouldn't be too hard.
For the others you need to post simple examples with steps to reproduce the problems.
Saying "wrong sizing of windows with only 1 child" is not a good way to report a problem...
OK, first I am starting a new wxSmith framebased project which looks like this:

(https://b.radikal.ru/b07/1802/96/7b1114a24976.png)

Than I am adding some widget like a button here:

(https://b.radikal.ru/b23/1802/09/a7551a8887b0.png)

as can be seen on the pic size and position for the button are completly ignored and after compilation itīs not looking beter:

(https://c.radikal.ru/c29/1802/b7/9180261a48f3.png)

Just to show itīs not problem with the button, the same thing with textCtrl here:

(https://d.radikal.ru/d15/1802/0a/1599f7a8f355.png)

(https://b.radikal.ru/b19/1802/b6/109b8efd48f3.png)
Title: Re: wxSmith isues
Post by: BlueHazzard on February 01, 2018, 02:08:14 pm
can't see anything on this small images...

but this is probably something wxWidgets related, not wxSmith. Wrong styles or flags...
are you using sizers?

there is something wrong...
Title: Re: wxSmith isues
Post by: gtafan on February 01, 2018, 03:46:29 pm
can't see anything on this small images...

but this is probably something wxWidgets related, not wxSmith. Wrong styles or flags...
are you using sizers?

there is something wrong...
Have fixed the sizes of images.
Not using sizers.
Title: Re: wxSmith isues
Post by: BlueHazzard on February 01, 2018, 05:30:40 pm
Thank you.
This is for sure a wxWidgets issue. The code generated works fine, but is not the right code you want to... I am no wxWidgets expert, i tried a bit to look at the examples but did not find any obvious... What version of wxWidgets do you use?
Title: Re: wxSmith isues
Post by: oBFusCATed on February 01, 2018, 08:43:44 pm
I don't think you would have great success using wxWidgets without sizers.
wxSmith is made around the idea of sizers, so even if there is support for the sizerless ui it is rarely tested or fixed/improved.

To find what is going on you need to manually make a sample code that works and then compare it with the auto generated from wxSmith to see where the difference is.
Then we could probably see if wxSmith could be made to generate such code.
But please consider the sizer idea - users of your application will be thanking you for this also.
Title: Re: wxSmith isues
Post by: gtafan on February 03, 2018, 01:26:32 pm
Thank you.
This is for sure a wxWidgets issue. The code generated works fine, but is not the right code you want to... I am no wxWidgets expert, i tried a bit to look at the examples but did not find any obvious... What version of wxWidgets do you use?
My fault, never noticed this problem with wxDev, so thought it's wxSmith problem.
Title: Re: wxSmith isues
Post by: gtafan on February 03, 2018, 01:35:23 pm
I don't think you would have great success using wxWidgets without sizers.
wxSmith is made around the idea of sizers, so even if there is support for the sizerless ui it is rarely tested or fixed/improved.

To find what is going on you need to manually make a sample code that works and then compare it with the auto generated from wxSmith to see where the difference is.
Then we could probably see if wxSmith could be made to generate such code.
But please consider the sizer idea - users of your application will be thanking you for this also.
I am familiar with sizer idea, since Java is my prefered programing language. Unfortunately the sizers are not as powerfull as their conterparts in Java, for example FlowSizer and CardSizer are completly mising. Also it's not always posible to place widbets exactly where you want with sizers.
An other thing is that GridBagSizer is not working, which seems to be wxWidget bugg.
Title: Re: wxSmith isues
Post by: BlueHazzard on February 04, 2018, 12:11:53 pm
Quote
An other thing is that GridBagSizer is not working, which seems to be wxWidget bug
i doubt that... Can you describe more? I still don't know what wxWidgets version you are using
Title: Re: wxSmith isues
Post by: gtafan on February 05, 2018, 04:14:29 pm
Quote
An other thing is that GridBagSizer is not working, which seems to be wxWidget bug
i doubt that... Can you describe more? I still don't know what wxWidgets version you are using
Sorry, my wxWidget version is 3.0.2, which was the latest stable version at least about a month ago.
The problem with GridBagSizer only apear when using additional custom panel. So I am starting a new wxSmith framebased project and adding a new panel to the project, then adding a GridBagSizer with some widgets to that panel:

(https://c.radikal.ru/c23/1802/ab/6efe0909b8c3.png)

In prewiv window it worcks fine:

(https://b.radikal.ru/b09/1802/2b/66e50a8aa856.png)

but when compiling geting an error mesage:

(https://b.radikal.ru/b10/1802/dd/6b5f630613a6.png)

Here all error mesages:

Code: [Select]
||=== Build: Release in test (compiler: GNU GCC Compiler) ===|
NewPanel.h|24|error: 'wxGridBagSizer' does not name a type|
NewPanel.cpp||In constructor 'NewPanel::NewPanel(wxWindow*, wxWindowID, const wxPoint&, const wxSize&)':|
NewPanel.cpp|29|error: 'GridBagSizer1' was not declared in this scope|
NewPanel.cpp|29|error: expected type-specifier before 'wxGridBagSizer'|
NewPanel.cpp|31|error: 'wxGBPosition' was not declared in this scope|
NewPanel.cpp|31|error: 'wxDefaultSpan' was not declared in this scope|
||=== Build failed: 5 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

It looks like mising include, but itīs not the case:

(https://c.radikal.ru/c22/1802/f0/b6d152a77e16.png)

Without the panel, just using the frame there is no problem:

(https://b.radikal.ru/b13/1802/27/006d60842934.png)
Title: Re: wxSmith isues
Post by: gtafan on February 05, 2018, 04:17:36 pm
Adding widgets to wxsmith shouldn't be too hard.
Would be cool to have the mising widgets in wxSmith. Also wxStyledTextCtrl is mising in wxSmith.
Title: Re: wxSmith isues
Post by: oBFusCATed on February 05, 2018, 05:52:24 pm
Patches welcome...
Title: Re: wxSmith isues
Post by: oBFusCATed on February 05, 2018, 05:53:45 pm
About the mis-compilation - is the gbsize.h part of the wx's precompiled header or not?
What happens if you extract it from the ifdef section.
Title: Re: wxSmith isues
Post by: gtafan on February 06, 2018, 02:44:21 pm
Patches welcome...
Unfortunatelly have not found patches, that solve the problem with at least 1 of the missing widgets.
Title: Re: wxSmith isues
Post by: gtafan on February 06, 2018, 02:48:13 pm
About the mis-compilation - is the gbsize.h part of the wx's precompiled header or not?
What happens if you extract it from the ifdef section.
Sorry, but having no idea what you are meaning with that wx's precompiled header.
Deleting that ifdef section could be really a solution, as in the frame wersion from the last pic there is no ifdef section and it compiles. Really donīt see any use of that ifdef section.
Title: Re: wxSmith isues
Post by: stahta01 on February 06, 2018, 02:49:39 pm
Patches welcome...
Unfortunatelly have not found patches, that solve the problem with at least 1 of the missing widgets.

"Patches welcome..." Implies you creating and submitting patches.

Tim S.
Title: Re: wxSmith isues
Post by: gtafan on February 06, 2018, 03:06:44 pm
Patches welcome...
Unfortunatelly have not found patches, that solve the problem with at least 1 of the missing widgets.

"Patches welcome..." Implies you creating and submitting patches.

Tim S.
Do I look like somebody creating and submitting patches?
Unfortunatelly it looks lie wxSmith is dead, as with a portable version of firefox I was finaly able to enter the sf.net page and for wxSmith the last update is 2013-05-03.
Title: Re: wxSmith isues
Post by: oBFusCATed on February 06, 2018, 06:52:12 pm
Dead is a bit strong word.
I'm not sure what you've looked at, but this is the latest commit for wxSmith:
Code: [Select]
commit b657ec13bec8e967e6fec997b52b4d56d9b4cf7b
Author: T Petrov <tpetrov@codeblocks.org>
Date:   Tue Aug 15 21:52:38 2017 +0000

    * wxSmith: Add wxSpinCtrl alignment styles

    > http://forums.codeblocks.org/index.php/topic,22082.msg150338.html#msg150338

    git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@11154 2a5c6006-c6dd-42ca-98ab-0921f2732cef
Title: Re: wxSmith isues
Post by: gtafan on February 07, 2018, 01:27:54 pm
Dead is a bit strong word.
I'm not sure what you've looked at, but this is the latest commit for wxSmith:
Code: [Select]
commit b657ec13bec8e967e6fec997b52b4d56d9b4cf7b
Author: T Petrov <tpetrov@codeblocks.org>
Date:   Tue Aug 15 21:52:38 2017 +0000

    * wxSmith: Add wxSpinCtrl alignment styles

    > http://forums.codeblocks.org/index.php/topic,22082.msg150338.html#msg150338

    git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@11154 2a5c6006-c6dd-42ca-98ab-0921f2732cef
I was looking here: https://sourceforge.net/projects/wxsmithaddons/

Deleting that ifdef section solved the problem with GridBagSizer.
Title: Re: wxSmith isues
Post by: BlueHazzard on February 08, 2018, 09:42:30 pm
I wanted to try to implement your controls, and i found out, that there is a implementation for this controls in wxSmith. They are simply not compiled and up to date ( the source is from 2000~2003?)
https://sourceforge.net/p/codeblocks/code/HEAD/tree/trunk/src/plugins/contrib/wxSmithSTC/
They are not in the default codeblocks.workspace

Anyway, the rich text component compiles fine with wx2.8 and wx3.0
The wxStyledTextCtrl does not work, because it is made for <wx2.8
I think it would not be difficult to port it to wx3.0 but i would not port it to wx2.8. I think we should begin to abandon wx2.8.

Any thoughts on this? Why is this component not shipped by default?
Title: Re: wxSmith isues
Post by: oBFusCATed on February 09, 2018, 01:44:29 am
Use blame to find out if it is mentioned. And yes, don't bother to provide support for wxSTC on wx2.8, just 3.0 is enough.
Title: Re: wxSmith isues
Post by: gtafan on February 09, 2018, 01:35:05 pm
I wanted to try to implement your controls, and i found out, that there is a implementation for this controls in wxSmith. They are simply not compiled and up to date ( the source is from 2000~2003?)
https://sourceforge.net/p/codeblocks/code/HEAD/tree/trunk/src/plugins/contrib/wxSmithSTC/
They are not in the default codeblocks.workspace

Anyway, the rich text component compiles fine with wx2.8 and wx3.0
The wxStyledTextCtrl does not work, because it is made for <wx2.8
I think it would not be difficult to port it to wx3.0 but i would not port it to wx2.8. I think we should begin to abandon wx2.8.

Any thoughts on this? Why is this component not shipped by default?
But what about wxSpinCtrlDouble? This component would be very usefull for me since I want to manipulate float values.
Title: Re: wxSmith isues
Post by: BlueHazzard on February 09, 2018, 11:42:18 pm
I created a pull request for the wxSmithSTC component.

https://github.com/obfuscated/codeblocks_sf/pull/9
Title: Re: wxSmith isues
Post by: BlueHazzard on February 10, 2018, 12:51:39 am
Pull request for wxSpinCtrlDouble
https://github.com/obfuscated/codeblocks_sf/pull/10
Title: Re: wxSmith isues
Post by: oBFusCATed on February 10, 2018, 02:42:50 am
Pull requests are not acceptable. Please post patches on sf.net.
Unfortunately I cannot disable them, so you don't waste your time creating them.
Title: Re: wxSmith isues
Post by: BlueHazzard on February 10, 2018, 11:56:20 am
The patch includes binary data (images). As far as i can tell SVN patch does not support binary data. Can i summit patches created with "git format-patch" ?
Title: Re: wxSmith isues
Post by: oBFusCATed on February 10, 2018, 12:34:55 pm
Yes, you can submit such patches. I'm not using svn, so I could apply them.
Just make sure to review the changes and remove everything that is not needed or required...
Title: Re: wxSmith isues
Post by: BlueHazzard on February 10, 2018, 01:44:42 pm
The project files are pretty old, so if i save them all backslashes get replaced to slashes. This makes the patches quite large...
Title: Re: wxSmith isues
Post by: oBFusCATed on February 10, 2018, 02:52:23 pm
So what?
Title: Re: wxSmith isues
Post by: 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/
Title: Re: wxSmith isues
Post by: gtafan 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.
Title: Re: wxSmith isues
Post by: 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...
Title: Re: wxSmith isues
Post by: gtafan 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.
Title: Re: wxSmith isues
Post by: gtafan 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.
Title: Re: wxSmith isues
Post by: gtafan 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.
Title: Re: wxSmith isues
Post by: stahta01 on February 26, 2018, 05:19:38 pm
Patches welcomed!

Tim S.
Title: Re: wxSmith isues
Post by: BlueHazzard 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.
Title: Re: wxSmith isues
Post by: gtafan 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.
Title: Re: wxSmith isues
Post by: gtafan on March 21, 2018, 12:01:44 pm
I tried to add bitmaps to my menu items and in wxSmith it looked OK:

(https://c.radikal.ru/c34/1803/5a/5914df2b2211.png)

(https://c.radikal.ru/c09/1803/f8/edaefd3a7dca.png)

(https://d.radikal.ru/d18/1803/0b/f3cad9fe2a3f.png)

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

(https://c.radikal.ru/c17/1803/ac/2fc1a0d4a0e7.png)

In the coresponding wxWidgets subfolder the images looks also OK, so I really not understanding, why I am geting such sh*t.
Title: Re: wxSmith isues
Post by: 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.
Title: Re: wxSmith isues
Post by: gtafan 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?
Title: Re: wxSmith isues
Post by: sodev on March 22, 2018, 06:28:00 pm
Well, technically http://docs.wxwidgets.org/trunk/classwx_art_provider.html (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.
Title: Re: wxSmith isues
Post by: gtafan on March 23, 2018, 11:54:02 am
Well, technically http://docs.wxwidgets.org/trunk/classwx_art_provider.html (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.
Title: Re: wxSmith isues
Post by: oBFusCATed on March 23, 2018, 07:45:40 pm
You can see this on the start here page or in the about dialog.
Title: Re: wxSmith isues
Post by: sodev 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 :).
Title: Re: wxSmith isues
Post by: gtafan 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.
Title: Re: wxSmith isues
Post by: gtafan 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.
Title: Re: wxSmith isues
Post by: BlueHazzard on March 27, 2018, 04:36:47 pm
As always, tickets would be a better place to collect feature requests....
Title: Re: wxSmith isues
Post by: gtafan 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.
Title: Re: wxSmith isues
Post by: gtafan 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.
Title: Re: wxSmith isues
Post by: BlueHazzard 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...
Title: Re: wxSmith isues
Post by: gtafan 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.
Title: Re: wxSmith isues
Post by: gtafan 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:

(https://c.radikal.ru/c03/1804/10/7e11b6759a13.png)

have created 2 here:

(https://c.radikal.ru/c41/1804/60/0d2f613ebf5a.png)

now something like this could be helpfull:

(https://d.radikal.ru/d22/1804/ad/048ef650d945.png)

The same thing could be done for custom panels:

(https://c.radikal.ru/c32/1804/60/2751bf308018.png)

(https://d.radikal.ru/d27/1804/f1/2ffe2da47638.png)

(https://d.radikal.ru/d10/1804/48/0ac36797c4b4.png)

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

(https://d.radikal.ru/d10/1804/4c/828d9fd98cf2.png)

(https://c.radikal.ru/c24/1804/45/c154ce02036c.png)

(https://b.radikal.ru/b23/1804/7d/7fdac822594d.png)

(https://b.radikal.ru/b32/1804/ac/6179e332b0ed.png)

(https://c.radikal.ru/c13/1804/2c/a12462b2c45a.png)
Title: Re: wxSmith isues
Post by: BlueHazzard 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?
Title: Re: wxSmith isues
Post by: BlueHazzard 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
Title: Re: wxSmith isues
Post by: gtafan 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.
Title: Re: wxSmith isues
Post by: gtafan on April 06, 2018, 01:36:22 pm
A list of improvements for the wxSmith plugin created in this forum so far:

  • wxStyledTextCtrl missing fixed in https://sourceforge.net/p/codeblocks/tickets/617/
  • wxGridBagSizer include is not correct
  • start a clean framebased wxSmith project, without menu and status bars
  • set ScrollRate values for wxScrolledWindow in wxSmith
  • wizard helping including xpms in Image editor
  • generic version of common dialogs:  http://docs.wxwidgets.org/trunk/overview_cmndlg.html for example wxGenericColourDialog
  • Editor dialog for editing columns in list control
  • Clone dialogs and panels

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