Author Topic: wxSmith isues  (Read 7858 times)

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 92
Re: wxSmith isues
« Reply #15 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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6368
    • My Best Post
Re: wxSmith isues
« Reply #16 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 92
Re: wxSmith isues
« Reply #17 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.
« Last Edit: February 06, 2018, 03:20:40 pm by gtafan »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11282
    • Travis build status
Re: wxSmith isues
« Reply #18 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
(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!]

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 92
Re: wxSmith isues
« Reply #19 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.
« Last Edit: February 07, 2018, 01:29:52 pm by gtafan »

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2105
Re: wxSmith isues
« Reply #20 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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11282
    • Travis build status
Re: wxSmith isues
« Reply #21 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.
(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!]

Offline gtafan

  • Multiple posting newcomer
  • *
  • Posts: 92
Re: wxSmith isues
« Reply #22 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.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2105
Re: wxSmith isues
« Reply #23 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

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2105
Re: wxSmith isues
« Reply #24 on: February 10, 2018, 12:51:39 am »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11282
    • Travis build status
Re: wxSmith isues
« Reply #25 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.
(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!]

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2105
Re: wxSmith isues
« Reply #26 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" ?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11282
    • Travis build status
Re: wxSmith isues
« Reply #27 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...
(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!]

Offline BlueHazzard

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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11282
    • Travis build status
Re: wxSmith isues
« Reply #29 on: February 10, 2018, 02:52:23 pm »
So what?
(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!]