Search found 38 matches

by TobiasA
Fri Jan 04, 2019 11:56 am
Forum: Component Writing
Topic: a simple calculator needed
Replies: 8
Views: 13187

Re: a simple calculator needed

Is it allowed to include your code into own code? If yes, under which license?
by TobiasA
Sun Nov 18, 2018 7:41 pm
Forum: Platform Related Issues
Topic: Internationalization- name of mo files Windows / Linux
Replies: 6
Views: 969

Re: Internationalization- name of mo files Windows / Linux

That might be worth a try. However, using "en" with "en_us" works too... Will try en_US too. Thanks for the hint!
by TobiasA
Sun Nov 18, 2018 3:55 pm
Forum: Platform Related Issues
Topic: Internationalization- name of mo files Windows / Linux
Replies: 6
Views: 969

Re: Internationalization- name of mo files Windows / Linux

Well, guess the reason was simply using "en" instead of "en_us" for wxLANGUAGE_ENGLISH_US. I don't know if this is correct, but... Hey, it works. Will have to use different directories for windows and linux tho since windows will accept en_us. The question remains how one is able to sort out between...
by TobiasA
Sun Nov 18, 2018 2:59 pm
Forum: Platform Related Issues
Topic: Internationalization- name of mo files Windows / Linux
Replies: 6
Views: 969

Re: Internationalization- name of mo files Windows / Linux

Strange thing is that I did add the catalog path #-o I could not find any difference given both the sample and the exact same (working) code under windows :? So the name of the file itself doesn't play any role as well as where the file is placed (as long as it gets added via wxLocale::AddCatalogLoo...
by TobiasA
Sun Nov 18, 2018 12:22 pm
Forum: Platform Related Issues
Topic: Internationalization- name of mo files Windows / Linux
Replies: 6
Views: 969

Internationalization- name of mo files Windows / Linux

Hi, I have an application that is available in English US (EN_US) and german (DE_DE). Languagefiles are stored in <exe directory>\de_de\appname.mo and en_us\appname.mo. Under windows, this works. Under Linux, it does not- seems it can't find the file even if it is placed in the same directory as und...
by TobiasA
Fri Oct 12, 2018 4:17 pm
Forum: C++ Development
Topic: Assert problem in SearchDynamicEventTable() when calling a calltip from within a styled text ctrl
Replies: 4
Views: 543

Re: Assert problem in SearchDynamicEventTable() when calling a calltip from within a styled text ctrl

There was this commit about a year ago that slightly changed the dwell timer that would be used to trigger the call tip. But it didn't really change the events used used or thrown by wxSTC in any way, so I don't think it could be responsible. Nevertheless, can you revert to the preceding commit (6c...
by TobiasA
Fri Oct 12, 2018 4:04 pm
Forum: C++ Development
Topic: Assert problem in SearchDynamicEventTable() when calling a calltip from within a styled text ctrl
Replies: 4
Views: 543

Re: Assert problem in SearchDynamicEventTable() when calling a calltip from within a styled text ctrl

Yes, I did. And I already wrote a fully functional editor (some kind of IDE for specific CNC macros and screens) around it. Strange thing is that it did work on windows 7 for more than a year now in wxWidgets 3.0.x and 3.1.1 until now. I did not change a thing, and I can only reproduce it on a speci...
by TobiasA
Fri Oct 12, 2018 11:21 am
Forum: C++ Development
Topic: Assert problem in SearchDynamicEventTable() when calling a calltip from within a styled text ctrl
Replies: 4
Views: 543

Assert problem in SearchDynamicEventTable() when calling a calltip from within a styled text ctrl

Im getting the error "assert "nNew != dynamicEvents.size()" failed in SearchDynamicEventTable()." when showing a call tip with the DWELL_START event from a styledtextctrl although the code worked for quite some time now. Call stack is: #0 ?? wxEvtHandler::SearchDynamicEventTable (this=0x833c440, eve...
by TobiasA
Sat Jan 20, 2018 5:46 pm
Forum: C++ Development
Topic: Re- Recommended way to save perspective in wxAuiNotebook
Replies: 2
Views: 2151

Re: Re- Recommended way to save perspective in wxAuiNotebook

I'm having some headache with that as well, trying to save the loadout of an AuiNotebook... Any news on this?
by TobiasA
Sat Dec 02, 2017 10:35 am
Forum: C++ Development
Topic: Custom folding in a custom lexer with LEX_CONTAINER
Replies: 31
Views: 3284

Re: Custom folding in a custom lexer with LEX_CONTAINER

Good morning everyone,
if no one did find any big issues yet, I would like to provide a link on the main page for the tutorials so the article can be found.
I'll do that later on the weekend.
Thank you all for your help!
by TobiasA
Mon Nov 06, 2017 8:21 am
Forum: C++ Development
Topic: Custom folding in a custom lexer with LEX_CONTAINER
Replies: 31
Views: 3284

Re: Custom folding in a custom lexer with LEX_CONTAINER

I added some notes at the end of the document.

It is not linked to the main page yet- if you think it is worth it you may link it to the tutorials & guides page or I will do so later on.

Thank you very much for your kind help!
by TobiasA
Fri Nov 03, 2017 8:17 am
Forum: C++ Development
Topic: Custom folding in a custom lexer with LEX_CONTAINER
Replies: 31
Views: 3284

Re: Custom folding in a custom lexer with LEX_CONTAINER

I added the complete code as copy & paste section at the end. I am using Code::Blocks under Windows so I'm not sure about the build commands- I must admit I never took so much care about it since the IDE works great with wxWidgets. No hazzle, no long setup- just select wxwidgets and there you go. No...
by TobiasA
Thu Nov 02, 2017 1:08 pm
Forum: C++ Development
Topic: Custom folding in a custom lexer with LEX_CONTAINER
Replies: 31
Views: 3284

Re: Custom folding in a custom lexer with LEX_CONTAINER

Finally :) I wrote to the google group and got unlocked.

Would be cool if someone could proof-read this before linking it to some page.
by TobiasA
Thu Nov 02, 2017 1:07 pm
Forum: General Forum Issues
Topic: Wiki detects me as spambot
Replies: 2
Views: 1666

Re: Wiki detects me as spambot

Got unlocked. Thank you very much!
by TobiasA
Thu Nov 02, 2017 8:18 am
Forum: General Forum Issues
Topic: Wiki detects me as spambot
Replies: 2
Views: 1666

Wiki detects me as spambot

Hi, I don't know if this is the right place to ask... But I registered for the wiki and created an article about highlighting text in a wxSTC (not linked anywhere yet). The day after, I came back to finish my work- and suddenly I'm a spambot ("Browser seems to be spambot"). I tried it in my lunchtim...