News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

wxSmith isues

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

Previous topic - Next topic

gtafan

Quote from: 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.
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.

stahta01

Quote from: gtafan on February 06, 2018, 02:44:21 PM
Quote from: oBFusCATed on February 05, 2018, 05:52:24 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++.
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]

gtafan

#17
Quote from: stahta01 on February 06, 2018, 02:49:39 PM
Quote from: gtafan on February 06, 2018, 02:44:21 PM
Quote from: oBFusCATed on February 05, 2018, 05:52:24 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.

oBFusCATed

Dead is a bit strong word.
I'm not sure what you've looked at, but this is the latest commit for wxSmith:

commit b657ec13bec8e967e6fec997b52b4d56d9b4cf7b
Author: T Petrov <tpetrov@codeblocks.org>
Date:   Tue Aug 15 21:52:38 2017 +0000

    * wxSmith: Add wxSpinCtrl alignment styles

    > http://forums.next.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!]

gtafan

#19
Quote from: 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:

commit b657ec13bec8e967e6fec997b52b4d56d9b4cf7b
Author: T Petrov <tpetrov@codeblocks.org>
Date:   Tue Aug 15 21:52:38 2017 +0000

    * wxSmith: Add wxSpinCtrl alignment styles

    > http://forums.next.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.

BlueHazzard

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?

oBFusCATed

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!]

gtafan

Quote from: 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?
But what about wxSpinCtrlDouble? This component would be very usefull for me since I want to manipulate float values.

BlueHazzard


BlueHazzard


oBFusCATed

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!]

BlueHazzard

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" ?

oBFusCATed

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!]

BlueHazzard

The project files are pretty old, so if i save them all backslashes get replaced to slashes. This makes the patches quite large...

oBFusCATed

(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!]