Search found 53 matches

by maximand
Tue Mar 15, 2016 9:02 am
Forum: Platform Related Issues
Topic: Currency not Latin fields issue [SOLVED]
Replies: 2
Views: 584

Re: Currency not Latin fields issue [SOLVED]

Thank you Max,

The encoding for incorrect file is UTF-8 without BOM. If converted to UTF-8 it's working fine.
I'll try as well:

Code: Select all

#pragma execution_character_set("utf-8")
by maximand
Mon Mar 14, 2016 3:13 pm
Forum: Platform Related Issues
Topic: Currency not Latin fields issue [SOLVED]
Replies: 2
Views: 584

Currency not Latin fields issue [SOLVED]

I've discovered that the code: wxString s = wxString::Format(L"INSERT INTO CURRENCYFORMATS_V1 VALUES (2, '%s', '%s', '%s', '%s', '%s', '%s', '%s', 100, 1, '%s')" , "European euro", L"€", "", ".", " ", "", "", "EUR&q...
by maximand
Sat Feb 15, 2014 2:40 pm
Forum: Platform Related Issues
Topic: webkitgtk
Replies: 2
Views: 1456

Re: webkitgtk

Thank you David. Got it configure:36656: checking for WEBKIT configure:36664: $PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1" Package webkit-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `webkit-1.0.pc' to the PKG_CONFIG_PATH env...
by maximand
Sat Feb 15, 2014 12:08 pm
Forum: Platform Related Issues
Topic: webkitgtk
Replies: 2
Views: 1456

webkitgtk

Whats wrong? Ubuntu 12.10 sudo ldconfig sudo apt-get install webkitgtk-3.0 Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'libwebkitgtk-3.0-0' for regex 'webkitgtk-3.0' Note, selecting 'libwebkitgtk-3.0-0-dbg' for regex 'webkitgtk-3.0' Note, ...
by maximand
Wed Dec 04, 2013 2:50 pm
Forum: Platform Related Issues
Topic: wxSingleChoiceDialog can be called several times [SOLVED]
Replies: 6
Views: 2112

Re: wxSingleChoiceDialog can be called several times [SOLVED]

Thank you David,

That my mistake. I have another issue. From some wxDialog an wxGetSingleChoice started. Then I can't close it and can't select any entry untill parent window open.
by maximand
Thu Nov 28, 2013 8:43 am
Forum: Platform Related Issues
Topic: wxSingleChoiceDialog can be called several times [SOLVED]
Replies: 6
Views: 2112

Re: wxSingleChoiceDialog can be called several times [SOLVED]

Hi,

This bug returns back in wx3.0
by maximand
Sat Oct 12, 2013 9:15 am
Forum: Component Writing
Topic: a simple calculator needed [SOLVED]
Replies: 7
Views: 12001

Re: a simple calculator needed [SOLVED]

it has been updated how to use #include "mmCalculator.h" .... textAmount_ = new wxTextCtrl( this, wxID_ANY, "", wxDefaultPosition, wxSize(110, -1), wxALIGN_RIGHT|wxTE_PROCESS_ENTER, mmCalcValidator()); .... mmCalculator calc; if (calc.is_ok(textAmount_->GetValue())) textAmount_->...
by maximand
Fri Oct 11, 2013 10:01 am
Forum: Component Writing
Topic: a simple calculator needed [SOLVED]
Replies: 7
Views: 12001

Re: a simple calculator needed [SOLVED]

This code seems is popular. It should be validator used for wxTextCtrl https://sourceforge.net/p/moneymanagerex/code/HEAD/tree/trunk/src/validators.h textAmount_ = new mmTextCtrl( this, ID_DIALOG_TRANS_TEXTAMOUNT, "", wxDefaultPosition, wxSize(110, -1), wxALIGN_RIGHT|wxTE_PROCESS_ENTER, mm...
by maximand
Wed Apr 24, 2013 10:29 am
Forum: Platform Related Issues
Topic: unable to tab out of a wxDatePickerCtrl (GTK only)
Replies: 1
Views: 2080

unable to tab out of a wxDatePickerCtrl (GTK only)

Hi All, long date_style = wxDP_DROPDOWN|wxDP_SHOWCENTURY|wxTAB_TRAVERSAL; dpc_ = new wxDatePickerCtrl( this, ID_DIALOG_TRANS_BUTTONDATE, wxDateTime::Now(), wxDefaultPosition, wxSize(110, -1), date_style); I'm noticing that on Ubuntu 12.04 with wxWidgets-2.9.4 I can tab into a DatePickerCtrl, but not...
by maximand
Fri Apr 19, 2013 9:33 am
Forum: General Development
Topic: code refactoring with sed [SOLVED]
Replies: 1
Views: 1387

Re: code refactoring with sed [SOLVED]

remove_wxT.bat for /R %%i in (*.cpp *.h) do sed -i -f template.sed %%i template.sed s/\\n/\x05/g s/\\\"/\x03/g s/wxT(\s*\(\"[^\"]*\" *\))/\1/g s/\x03/\\\"/g s/\x05/\\n/g s/.c_str()//g bash script #!/bin/bash for f in `ls *.cpp *.h` do echo "Processing $f file.." se...
by maximand
Wed Apr 17, 2013 5:43 am
Forum: General Development
Topic: code refactoring with sed [SOLVED]
Replies: 1
Views: 1387

code refactoring with sed [SOLVED]

Hi All, I've created simple script (for windows) to remove any wxT() functions in a source files. It's for fully convertion the code to wx-2.9. for /R %%i in (*.cpp *.h) do sed -i "s/wxT([^)]*)/#&#/;/#wxT(/s/)#//;s/#wxT(//;s/.c_str()//g" %%i it replace any wxT(....) with #wxT(...)# the...
by maximand
Sun Jan 13, 2013 1:44 pm
Forum: Component Writing
Topic: a simple calculator needed [SOLVED]
Replies: 7
Views: 12001

Re: a simple calculator needed [SOLVED]

I've created it by myself. It support only main operations like + - / * and () bool mmCalculator(wxString sInput, wxString& sOutput) { //TODO: Fix Non standart number format sInput.Replace(wxT(")("), wxT(")*(")); bool bResult = true; int a = sInput.Replace(wxT("("),...
by maximand
Fri Jan 11, 2013 9:10 am
Forum: C++ Development
Topic: wxURL [SOLVED]
Replies: 8
Views: 1706

Re: wxURL [SOLVED]

Thank you!

You right.
I still don't understand why \0 needed.
by maximand
Thu Jan 10, 2013 10:01 pm
Forum: Platform Related Issues
Topic: wxValidator issue
Replies: 1
Views: 875

wxValidator issue

wxValidator skip non Latin characters for digital wxTextCtrl fields. Look at the provided screenshot at right bottom corner. That field should accept only digits! That very old issue. Tested from wx-2.8.10 till wx-2.9.5 Screenshot provided for wxWidgets-2.9.5 (trunk) /samples/validate Validator demo...

Go to advanced search