Search found 7480 matches

by ONEEYEMAN
Mon Mar 18, 2019 3:43 pm
Forum: wxWidgets Development (Russian)
Topic: Code::Blocks + wxSmith и русские буквы
Replies: 6
Views: 18232

Re: Code::Blocks + wxSmith и русские буквы

Dobrogo vremeni sutok, K sogaleniju ne znaju ili budet rabotat, no: #ifdef WIN32 #include <windows.h> #pragma execution_character_set("utf-8") #endif pod MSVS rabotaet normalno. Spasibo. P.S.: A voobsche to da - programmu luchshe pisat po anglijski, a stroki peredavat v _(), chto oboznachi...
by ONEEYEMAN
Mon Mar 18, 2019 2:54 pm
Forum: wxWidgets Development (Russian)
Topic: Code::Blocks + wxSmith и русские буквы
Replies: 6
Views: 18232

Re: Code::Blocks + wxSmith и русские буквы

Dobrogo vremeni sutok,
Na 1 vopros otveta net.
No dlja zarjadki - kak sobiralas biblioteka? Kakaja komanda ispolzovalas'?

A na 2 - poprobujte posmotret' na wxSQLite.

Spasibo.
by ONEEYEMAN
Mon Mar 18, 2019 2:44 pm
Forum: Platform Related Issues
Topic: wxWidgets-3.1.2 build on osx 10.14.3 configure error
Replies: 2
Views: 1088

Re: wxWidgets-3.1.2 build on osx 10.14.3 configure error

Hi,
10.14 SDK does not contain 10.8 SDK (minimum required for wx) anymore.

I believe the minimum required is raised in HEAD, so you won'r see it in the future.

Thank you.
by ONEEYEMAN
Mon Mar 18, 2019 2:38 pm
Forum: Compiler / Linking / IDE Related
Topic: static monolithic build, is wiki outdated?
Replies: 5
Views: 1135

Re: static monolithic build, is wiki outdated?

Hi,
In general 'MONOLITHIC' build is not recommended as it does not give you any gains over the 'MULTILIB' settings.
In fact it could produce some linking issues.

But if it works for you - good.
by ONEEYEMAN
Mon Mar 18, 2019 2:35 pm
Forum: C++ Development
Topic: How to create such a layout?
Replies: 23
Views: 3042

Re: How to create such a layout?

Hi, guys, @doublemax: For some unknown reason, when I hide the column labels and got rid of the renderer, the lines also disappear. I don't see them anymore. Very strange. @PB: I will try your code when I get home. It would be nice to see if doing straight vertical box sizer instead of those extra c...
by ONEEYEMAN
Mon Mar 18, 2019 1:29 am
Forum: C++ Development
Topic: How to create such a layout?
Replies: 23
Views: 3042

Re: How to create such a layout?

And this is a screenshot from the OSX.

Thank you.
by ONEEYEMAN
Sun Mar 17, 2019 10:35 pm
Forum: C++ Development
Topic: How to create such a layout?
Replies: 23
Views: 3042

Re: How to create such a layout?

Hi, Can't you derive from wxGridRowHeaderRenderer and draw row headers without a border or background? I tried to follow this, but following code: class GridRowLabelRenderer : public wxGridRowHeaderRenderer { public: GridRowLabelRenderer () { } virtual void DrawLabel (const wxGrid &grid, wxDC &a...
by ONEEYEMAN
Sun Mar 17, 2019 12:45 am
Forum: C++ Development
Topic: Could someone please help?
Replies: 2
Views: 711

Re: Could someone please help?

doublemax,
At this point I wish there will be more meaningful error message. ;)

Thank you.
by ONEEYEMAN
Sat Mar 16, 2019 11:49 pm
Forum: C++ Development
Topic: Could someone please help?
Replies: 2
Views: 711

Could someone please help?

Hi, ALL, I believe I need another pair of eyes once again... igor@IgorReinCloud ~/dbhandler/Debug $ cat ../libdialogs/dialogs.cpp #ifdef __GNUC__ #pragma implementation "dialogs.h" #endif #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif #if ...
by ONEEYEMAN
Sat Mar 16, 2019 2:58 pm
Forum: C++ Development
Topic: wxTreeCtrl context menu
Replies: 3
Views: 687

Re: wxTreeCtrl context menu

Hi, 2 things: 1. In the new code it is strongly recommended to use Bind() instead of Connect(). Connect() should be used only for backward compatibility. 2. You don't need to assign Id to anything if you are not using event table. m_treeCtrl->Bind( wxEVT_TREE_ITEM_RIGHT_CLICK, &MainFrame::OnTree...
by ONEEYEMAN
Fri Mar 15, 2019 9:54 pm
Forum: C++ Development
Topic: How to change z-order of wxTextCtrl?
Replies: 11
Views: 2588

Re: How to change z-order of wxTextCtrl?

Hi,
As I said - take a look at wxGrid and the grid sample.

I think this is what you are looking for.

You will not need any extra code - just plain wxGrid which will be populated from the data you read from the file.

Thank you.
by ONEEYEMAN
Fri Mar 15, 2019 9:46 pm
Forum: C++ Development
Topic: How to change z-order of wxTextCtrl?
Replies: 11
Views: 2588

Re: How to change z-order of wxTextCtrl?

Hi, OK, now I understand what you are trying to achieve. Take a look at wxGrid. It supports almost everything - scrolling, multiple data display and even sorting. You can read you data in some kind of a vector, then populate them in wxGrid. Then when you want to sort them - all you need to do is to ...
by ONEEYEMAN
Fri Mar 15, 2019 8:22 pm
Forum: C++ Development
Topic: How to change z-order of wxTextCtrl?
Replies: 11
Views: 2588

Re: How to change z-order of wxTextCtrl?

Hi, I'm not sure you understand the purpose of the sizer. Sizer is not a window. It does not have anything to display. So, why do you need to have extra class to represent sizer? Now for you particular problem: You have all of you text controls to be obejcts of the same class, right? So when you try...
by ONEEYEMAN
Fri Mar 15, 2019 6:58 pm
Forum: C++ Development
Topic: How to change z-order of wxTextCtrl?
Replies: 11
Views: 2588

Re: How to change z-order of wxTextCtrl?

Hi, First of all the term "z-order" is not applicable here. The proper term is TAB-order. Second - when you press TAB key the focus is moving from the control you created first to the second, third, etc. I.e.: wxTextCtrl *text1 = new wxTextCtrl(); wxTextCtrl *text2 = new wxTextCtrl(); wxTe...
by ONEEYEMAN
Fri Mar 15, 2019 6:01 pm
Forum: C++ Development
Topic: How to change z-order of wxTextCtrl?
Replies: 11
Views: 2588

Re: How to change z-order of wxTextCtrl?

Hi,
I would be curious to know how those text controls and labels were created?
Can you post such code?

Thank you.