Search found 72 matches
- Fri May 01, 2020 9:38 pm
- Forum: Platform Related Issues
- Topic: icon size on MAC
- Replies: 7
- Views: 774
Re: icon size on MAC
I've used this instructions https://github.com/moneymanagerex/moneymanagerex/blob/master/BUILD.md#macos-with-homebrew but exclude brew install wxmac gettext. I've installed wx3.1.3 and gettext from source code. As result this two command give me a package of my project: cmake -DCMAKE_BUILD_TYPE=Rele...
- Fri May 01, 2020 3:27 pm
- Forum: Platform Related Issues
- Topic: icon size on MAC
- Replies: 7
- Views: 774
Re: icon size on MAC
I have only MAC Air (2019) for tests. I don't know what is the display are there.
I don't know even any IDE for this platform. I can't build any tests.
I am using VS2017 on Windows.
I don't know even any IDE for this platform. I can't build any tests.
I am using VS2017 on Windows.
- Fri May 01, 2020 6:34 am
- Forum: Platform Related Issues
- Topic: icon size on MAC
- Replies: 7
- Views: 774
Re: icon size on MAC
The key is already there.
- Thu Apr 30, 2020 9:31 pm
- Forum: Platform Related Issues
- Topic: icon size on MAC
- Replies: 7
- Views: 774
icon size on MAC
Dear wxGuru() • wxWidgets 3.1.3 (wxMSW 10.0) win.PNG The same code on MAC 10.15. The visible area is 16x16 but icon behind is 24x24. mac_ico.png …. long style = wxTB_FLAT | wxTB_NODIVIDER; toolBar_ = new wxToolBar(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, style, "ToolBar"); toolBar_->AddTool...
- Sun Apr 26, 2020 4:47 pm
- Forum: Platform Related Issues
- Topic: wxRichToolTip on MAC is transparent
- Replies: 3
- Views: 426
- Sun Apr 26, 2020 4:18 pm
- Forum: Platform Related Issues
- Topic: wxRichToolTip on MAC is transparent
- Replies: 3
- Views: 426
Re: wxRichToolTip on MAC is transparent
Sample with tip.SetBackgroundColour(wxColour(255,255,0));
- Sun Apr 26, 2020 4:07 pm
- Forum: Platform Related Issues
- Topic: wxRichToolTip on MAC is transparent
- Replies: 3
- Views: 426
wxRichToolTip on MAC is transparent
Hello. I've created the following function to draw tool tip in case if fields of my app dialogues contains an invalid value. tip.SetBackgroundColour(...) has been added specially for MAC. But it does not help. It working only if some colour a la wxColour(255,255,0) inserted. But in that case it look...
- Mon Apr 20, 2020 8:41 pm
- Forum: C++ Development
- Topic: looking for wxTextInputStream replacement for binary files
- Replies: 2
- Views: 332
Re: looking for wxTextInputStream replacement for binary files
Great. It's working. Thank you very much.
- Mon Apr 20, 2020 8:31 pm
- Forum: C++ Development
- Topic: C++ Parsing TimeZone From Date String
- Replies: 8
- Views: 728
Re: C++ Parsing TimeZone From Date String
75% complete solution. The 'test' variable contains '-04:00'. It should be converted to wxTimeSpan. I have no ideas how. wxRegEx pattern(R"(^([0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2})(-?[0-9]{2}:[0-9]{2})$)"); wxString published_at = "2020-04-17T09:30:00-04:00"; if (pattern.Matches(publ...
- Mon Apr 20, 2020 7:29 pm
- Forum: C++ Development
- Topic: looking for wxTextInputStream replacement for binary files
- Replies: 2
- Views: 332
looking for wxTextInputStream replacement for binary files
Hello there, I am looking a piece of code to replace wxTextInputStream to something for binary data. I don't understand how to use wxMemoryBuffer. Please advice. In resources there are the following files: ChartNew.js, format.js, home_page.htt, kaching.wav, master.css, mmex.ico, sorttable.js Thanks ...
- Tue Apr 30, 2019 5:26 am
- Forum: Platform Related Issues
- Topic: How to proper alighn widgets
- Replies: 2
- Views: 618
Re: How to proper alighn widgets
doublemax, thank you. We have implemented this hack: //Text field for name of day of the week wxSize WeekDayNameMaxSize(wxDefaultSize); for (wxDateTime::WeekDay d = wxDateTime::Sun; d != wxDateTime::Inv_WeekDay; d = wxDateTime::WeekDay(d+1)) WeekDayNameMaxSize.IncTo(GetTextExtent( wxGetTranslation(w...
- Mon Apr 29, 2019 7:01 am
- Forum: Platform Related Issues
- Topic: How to proper alighn widgets
- Replies: 2
- Views: 618
How to proper alighn widgets
Hello, I have an issue with dialog on Linux. Weekday name is displayed outside the transaction dialog's border And wxChoice widgets are smaller than other widgets in the transaction dialog: l1.PNG The same dialog on Windows OS looks nice w1.PNG The code: https://github.com/moneymanagerex/moneymanage...
- Thu Apr 11, 2019 12:19 pm
- Forum: C++ Development
- Topic: Multilangual : how make wxPLURAL work ?
- Replies: 5
- Views: 2205
- Mon Mar 04, 2019 3:41 pm
- Forum: C++ Development
- Topic: Date chooser for month and year
- Replies: 7
- Views: 970
Re: Date chooser for month and year
I've changed wxPanel to wxWindow. Now it's working. wxIMPLEMENT_DYNAMIC_CLASS(mmDateYearMonth, wxWindow); wxBEGIN_EVENT_TABLE(mmDateYearMonth, wxWindow) EVT_BUTTON(wxID_ANY, mmDateYearMonth::OnButtonPress) wxEND_EVENT_TABLE() mmDateYearMonth::mmDateYearMonth() { } mmDateYearMonth::mmDateYearMonth(wx...
- Mon Mar 04, 2019 2:10 pm
- Forum: C++ Development
- Topic: Date chooser for month and year
- Replies: 7
- Views: 970
Re: Date chooser for month and year
YearMonth.PNG I can't handle events. I've created this: Header: class mmDateYearMonth : public wxPanel { //wxDECLARE_DYNAMIC_CLASS(mmDateYearMonth); //wxDECLARE_EVENT_TABLE(); public: mmDateYearMonth(); mmDateYearMonth(wxWindow *parent); private: bool Create(wxWindow* parent, wxWindowID id); void O...