Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Nightly builds / Re: The 25 May 2024 build (13524) is out.
« Last post by Uriens The Gray on Today at 09:13:32 am »
Works perfectly fine from the MSYS2 packages. Thanks!!  :)
2
Development / Re: new feature of wxSmith in r13522
« Last post by ollydbg on Today at 04:12:39 am »
All the thanks should go to GitHubLionel, I was just the messenger.  :)

BTW: I think GitHubLionel is a wxWidgets export, because his wxMathPlot control (https://github.com/GitHubLionel/wxMathPlot)

has many new features than the old one(https://sourceforge.net/projects/wxmathplot/).
3
Using Code::Blocks / Re: Code::Blocks and wxWidgets 3.2.5...
« Last post by PB on Yesterday at 10:20:30 pm »
The updated wizard is in https://github.com/PBfordev/wxpbguide/tree/master/cb/wizard

The nightly builds of Code::Blocks ship with a wizard supporting wxWidgets 3.2.

My guide uses multilib build by default (as monolithic build is IMO not very useful) but should be used without issues with monolithic builds as well (the differences are noted where needed).
4
Using Code::Blocks / Re: Code::Blocks and wxWidgets 3.2.5...
« Last post by Sephiroth on Yesterday at 08:37:30 pm »
Thank you, I will start there.
5
Using Code::Blocks / Re: Code::Blocks and wxWidgets 3.2.5...
« Last post by stahta01 on Yesterday at 08:32:07 pm »
Link that should help; I have never read or used these steps.

https://github.com/PBfordev/wxpbguide

Tim S.
6
Using Code::Blocks / Re: Code::Blocks and wxWidgets 3.2.5...
« Last post by Sephiroth on Yesterday at 08:27:07 pm »
Yes, the latest stable, 20.03. Are there instructions or a guide for editing the wizard to add support for 3.2.x? I stick with CB because I can work in Windows or Linux on the same project using the same IDE. I also despise MSVS requiring an account to use now.
7
Using Code::Blocks / Re: Code::Blocks and wxWidgets 3.2.5...
« Last post by stahta01 on Yesterday at 08:17:21 pm »
Code::Blocks version? If 20.3 then, if I recall correctly, you need to edit the wizard.

Edit: Add link that should help.
https://github.com/PBfordev/wxpbguide

Tim S.
8
Using Code::Blocks / Code::Blocks and wxWidgets 3.2.5...
« Last post by Sephiroth on Yesterday at 08:10:47 pm »
I could swear there was a thread on this in the past, but I couldn't find it. Anyway, I am trying to setup wxWidgets with Code::Blocks on my laptop. I downloaded both, installed CB, unzipped wx to C:\wxWidgets-3.2.5, built wx with shared, monolithic, and unicode. I defined the global "wx" variable in CB and set the include and lib paths as well as the base path. I have to select wxWidgets 3.1.x but when I get to the end it all errors out, telling me it cannot find debug or release builds. I did indeed build wxWidgets (C:\wxWidgets-3.2.5\build\msw) and it completed successfully, but I'm stumped now. What am I missing?
9
Development / Re: Thinking about a wxSmith Clone Dialog Feature
« Last post by Miguel Gimenez on Yesterday at 06:03:49 pm »
The last section is saving the current selections in wxNewWindowDlg to default.conf, so they will be the defaults in the next call. You can ignore it.
10
Development / Re: Thinking about a wxSmith Clone Dialog Feature
« Last post by tigerbeard on Yesterday at 05:34:02 pm »
You can look how wxSmith does it in the wxSmith->Add wxDialog menu.
Great Tried that before but gave up as nobody seemed to had any refernces to wxNewWindowDlg. But now I found that its OnCreate() handler does have the logic

Code
  cbProject* cProject = m_pProject->GetCBProject();      // seems to get the project to add files to 

Then there is a larger Params structure set up used to create the target classes as a wxsFrameRes, a wxsDialogRes or wxPanelRes These classes are then added. In my case I would not do that because that must be parsed from the cloned source files.

Next the files seem to be added to the project. Not sure where the Targets come from - maybe its an interactive call.. Not sure if thats already writing it to the project file, but a "File/SaveAll"  should to that manually.
Code
 wxArrayInt vnTargets;               // I  guess build targets
 Manager::Get()->GetProjectManager()->AddFileToProject( strHeaderFilename, cProject, vnTargets );
 Manager::Get()->GetProjectManager()->AddFileToProject( strCppFilename, cProject, vnTargets );
 Manager::Get()->GetProjectManager()->AddFileToProject( strWxrFilename, cProject, vnTargets );
 Manager::Get()->GetProjectManager()->GetUi()->RebuildTree();

Then there is this section where I am not sure where that saves to. I an not sure I need that. At least the files were not written there. There are quire a few comments in the ConfigManager header but they do not tell what its supposed to do.
Code
 // save configuration
 ConfigManager* Cfg = Manager::Get()->GetConfigManager( "wxsmith" );
 Cfg->Werite( "/newresource/useinitfunc", m_InitFunc->GetValue() );
 ...

I guess the part to re-parse the files needs to be found elsewhere. but restarting the project should do that as well.

So that should be enough for some mindless trial and error  ;). Thanks  a lot.

Pages: [1] 2 3 4 5 6 ... 10