Search found 7 matches

by karanshah
Mon Sep 03, 2018 11:44 am
Forum: Platform Related Issues
Topic: Mac only -wxExecute called with wxEXEC_SYNC returns immediately
Replies: 2
Views: 179

Mac only -wxExecute called with wxEXEC_SYNC returns immediately

Hi All, I am facing a strange issue on Mac, where wxExecute called with wxEXEC_SYNC, but it returns immediately with the return code -1 and the app that was called continues its execution. It is like, I have called the app asynchronously. But actually, I am using the argument wxEXEC_SYNC. This is ha...
by karanshah
Wed Dec 21, 2016 10:53 am
Forum: C++ Development
Topic: OK and Cancel Buttons not getting translated.
Replies: 2
Views: 526

OK and Cancel Buttons not getting translated.

Hi All, Greetings. I have to show a message box in my application. I see a strange issue that the OK and the Cancel buttons are not getting translated. wxMessageBox (_i18n("Sample Mesage"), _i18n("Title"), wxOK|wxCANCEL|wxICON_INFORMATION); Another strange thing I saw is that if I only use the flag ...
by karanshah
Tue Feb 09, 2016 5:02 am
Forum: C++ Development
Topic: SetAccelerator fails when set for wxFrame
Replies: 1
Views: 208

SetAccelerator fails when set for wxFrame

Hi All, Greetings.. I am using wx-widgets version 3.0 and my application has a main frame with panels. When I set the AcceleratorTable for the Frame it fails to work and none of my shortcuts work. But when I set it for a Panel within the frame it works fine and I am able to use the Shortcut keys. Is...
by karanshah
Tue Dec 08, 2015 7:08 am
Forum: wxDev-C++
Topic: AddCatalog fails for a dll loaded dynamically.
Replies: 1
Views: 837

AddCatalog fails for a dll loaded dynamically.

Hi All, I am using wx-widgets 3.0. I have an app that uses embedded localization. I am using the call wxTranslations::Get()->SetLoader(new wxResourceTranslationsLoader);. This will take the definition from the resource file and strings get translated. This app of mine loads a dll dynamically. I trie...
by karanshah
Wed Jul 15, 2015 7:00 am
Forum: C++ Development
Topic: Embedded mo files in applications are not getting read(wx widgets 3.0)
Replies: 2
Views: 358

Re: Embedded mo files in applications are not getting read(wx widgets 3.0)

Thanks a lot. I was not aware of this class.

It a works fine now :D
by karanshah
Mon Jul 13, 2015 9:01 am
Forum: C++ Development
Topic: Embedded mo files in applications are not getting read(wx widgets 3.0)
Replies: 2
Views: 358

Embedded mo files in applications are not getting read(wx widgets 3.0)

Hi All, I am embeding the mo files in my application. While reading the mo files "AddCatalog" fails. This happens with wx-widgets 3.0. It works fine with wx-widgets 2.7. I use the following code to add the files. wxMemoryFSHandler::AddFile(lpszNameString, (void *)LockResource(global), (int)SizeofRes...
by karanshah
Tue Dec 02, 2014 7:11 am
Forum: C++ Development
Topic: wxTextCtrl Right click options are not localized on Mac.
Replies: 1
Views: 440

wxTextCtrl Right click options are not localized on Mac.

Hello everyone, In my application if I have a control whose contents can be edited(wxTextCtrl), when I right click the control, the "Copy" , "Cut" "Paste" and other options that I get are not translated when I change the System language to any other language(other than English). Am I missing a call ...