Search found 72 matches

by maximand
Sun Mar 03, 2019 12:12 pm
Forum: C++ Development
Topic: Date chooser for month and year
Replies: 7
Views: 660

Re: Date chooser for month and year

@doublemax thank you for your step by step instruction.
I am afraid it would some issues with buttons and text box sizing but I'll try.
by maximand
Tue Feb 26, 2019 6:22 pm
Forum: C++ Development
Topic: Date chooser for month and year
Replies: 7
Views: 660

Re: Date chooser for month and year

I am looking for a code that can be adopted for my purposes.
Unfortunately, I don't understand generic calendar code.
by maximand
Sun Feb 24, 2019 10:19 am
Forum: C++ Development
Topic: Date chooser for month and year
Replies: 7
Views: 660

Date chooser for month and year

Hi everybody,

I am looking something like wxCalendarCtrl but I need only header for month and year selection.
Examples:
[ << < February 2019 > >> ] or [ < February 2019 > ]
Please advice.
by maximand
Sun Feb 24, 2019 10:13 am
Forum: Component Writing
Topic: a simple calculator needed
Replies: 8
Views: 14705

Re: a simple calculator needed

You can use it as you wish.
by maximand
Tue Mar 15, 2016 9:02 am
Forum: Platform Related Issues
Topic: Currency not Latin fields issue
Replies: 2
Views: 757

Re: Currency not Latin fields issue

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
Replies: 2
Views: 757

Currency not Latin fields issue

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"); Working fine if placed, for example, in some_file.cpp https://cloud.githubuserconte...
by maximand
Sat Feb 15, 2014 2:40 pm
Forum: Platform Related Issues
Topic: webkitgtk
Replies: 2
Views: 1636

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 environment v...
by maximand
Sat Feb 15, 2014 12:08 pm
Forum: Platform Related Issues
Topic: webkitgtk
Replies: 2
Views: 1636

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
Replies: 6
Views: 2398

Re: wxSingleChoiceDialog can be called several times

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
Replies: 6
Views: 2398

Re: wxSingleChoiceDialog can be called several times

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
Replies: 8
Views: 14705

Re: a simple calculator needed

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_->SetValue(calc.get_re...
by maximand
Fri Oct 11, 2013 10:01 am
Forum: Component Writing
Topic: a simple calculator needed
Replies: 8
Views: 14705

Re: a simple calculator needed

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, mmCalcValida...
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: 2191

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
Replies: 1
Views: 1500

Re: code refactoring with sed

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.." sed -i -f template.sed $f done