Search found 3574 matches

by ONEEYEMAN
Mon Dec 09, 2019 3:39 pm
Forum: C++ Development
Topic: how to make a wxPanel like Layer
Replies: 5
Views: 107

Re: how to make a wxPanel like Layer

Hi,
Yes, we got that.
But what is the purpose of them?

Are you trying like see-through panel, with the other one having a bitmap?
Or something else?

Please describe the problem you are trying to solve.

Thank you.
by ONEEYEMAN
Mon Dec 09, 2019 4:37 am
Forum: Platform Related Issues
Topic: Different looking of wxChoice
Replies: 16
Views: 256

Re: Different looking of wxChoice

Hi,
Can you post the complete code for the whole frame/dialog where you use the wxChoice?

Thank you.
by ONEEYEMAN
Sun Dec 08, 2019 3:03 pm
Forum: Platform Related Issues
Topic: MenuBar in macOS Catalina
Replies: 5
Views: 335

Re: MenuBar in macOS Catalina

Hi,
Did you try with the Git master?
Also, did you modify the minimal sample in any way?
Finally what is you configure line?

Thank you.
by ONEEYEMAN
Sun Dec 08, 2019 6:51 am
Forum: C++ Development
Topic: Implementing "Append", "Insert" and "Remove"
Replies: 9
Views: 156

Re: Implementing "Append", "Insert" and "Remove"

doublemax, I'm trying to see if I can make a mouse clicks work with that dialog. First, for some unknown reason there is no wxEVT_MOUSE_EVENTS, only the event table macro. Unless I'm missing something. Second, I tried to bind mouse events to the type combo box and it appears not to work (on Windows)...
by ONEEYEMAN
Sat Dec 07, 2019 4:46 am
Forum: C++ Development
Topic: Implementing "Append", "Insert" and "Remove"
Replies: 9
Views: 156

Re: Implementing "Append", "Insert" and "Remove"

doublemax,
Weird thing happened. :D
I changed the wxTextCtrl with the number to wxStaticText and now it display correctly - 2 lines as it should.

Thank you and sorry for this.
by ONEEYEMAN
Sat Dec 07, 2019 12:28 am
Forum: C++ Development
Topic: Implementing "Append", "Insert" and "Remove"
Replies: 9
Views: 156

Re: Implementing "Append", "Insert" and "Remove"

doublemax,
Attached is the complete code and the screenshot after clicking the "Add" button.

Thank you.
by ONEEYEMAN
Fri Dec 06, 2019 8:15 pm
Forum: C++ Development
Topic: Implementing "Append", "Insert" and "Remove"
Replies: 9
Views: 156

Re: Implementing "Append", "Insert" and "Remove"

doublemax, In the meantime - is my idea with std::map make sense? Or there is a better alternative? So I will have: struct Arguments { wxStaticBitmap m_bmp; wxTextCtrl m_row, m_name, wxComboBox m_type; }; class RetievalArguments : public wxDialog { private: std::map<int, Arguments> m_lines; }; Thank...
by ONEEYEMAN
Fri Dec 06, 2019 6:13 pm
Forum: C++ Development
Topic: Implementing "Append", "Insert" and "Remove"
Replies: 9
Views: 156

Re: Implementing "Append", "Insert" and "Remove"

doublemax,
Yes, I did,

I'm at work right now. I will post a screenshot when I come home.
But basically it looks like the controls are added on top of the first row.

wx-3.1.3/MSVC 2017/Win 8.1.

Thank you.
by ONEEYEMAN
Fri Dec 06, 2019 5:58 pm
Forum: C++ Development
Topic: [wxMSW][wx3.0.3] Pasting URL as text even if using wxURLDataObject while setting clipboard data
Replies: 3
Views: 61

Re: [wxMSW][wx3.0.3] Pasting URL as text even if using wxURLDataObject while setting clipboard data

Hi,
Where do you want to paste it?
Simple wxTextCtrl? wxTextCtrl with wxTE_RICH option? wxRTC? wxSTC?

Thank you.
by ONEEYEMAN
Fri Dec 06, 2019 5:52 pm
Forum: C++ Development
Topic: How to implement something like this?
Replies: 24
Views: 592

Re: How to implement something like this?

New thread created. ;-)
by ONEEYEMAN
Fri Dec 06, 2019 5:51 pm
Forum: C++ Development
Topic: Implementing "Append", "Insert" and "Remove"
Replies: 9
Views: 156

Implementing "Append", "Insert" and "Remove"

Hi, This is the continuation form thhis thread. I tried to put in the code for the "Add"/"Append" button. Unfortunately the code didn't work. All I did was the following: fgs->Add( new wxStaticBitmap( args, wxID_ANY, bmp ), 0, wxEXPAND | wxRIGHT | wxLEFT, 8 ); fgs->Add( new wxTextCtrl( args, wxID_AN...
by ONEEYEMAN
Fri Dec 06, 2019 3:44 pm
Forum: C++ Development
Topic: How to implement something like this?
Replies: 24
Views: 592

Re: How to implement something like this?

doublemax,
It worked!!! I now have a perfectly sized dialog.

Now should I open another thread for adding/inserting/removing lines in the scrolled window? Or we continue here?
Because I tried to put some code in Add button handler and it didn't work as expected.

Thank you.
by ONEEYEMAN
Fri Dec 06, 2019 3:40 pm
Forum: Compiler / Linking / IDE Related
Topic: LNK2019 wxString::SubstrBufFromType
Replies: 8
Views: 212

Re: LNK2019 wxString::SubstrBufFromType

Hi, Only you know what options you used when you compiled wxWidgets. Did you use static/dynamic one? UNICODE or not? multilib or not? debug vs release? Those are major ones that absolutely has to match. On top of that there are some that defined inside setup.h or configure that also should match to ...
by ONEEYEMAN
Fri Dec 06, 2019 3:36 pm
Forum: Platform Related Issues
Topic: Different looking of wxChoice
Replies: 16
Views: 256

Re: Different looking of wxChoice

Hi,
My guess would be that something inside Magea default theme is not right.
Can you install any GTK+ application and see if you have the same issue?
Or try to compile widgets sample and see if it works for you?

Thank you.
by ONEEYEMAN
Fri Dec 06, 2019 1:20 am
Forum: C++ Development
Topic: How to implement something like this?
Replies: 24
Views: 592

Re: How to implement something like this?

doublemax,
I added the call:

Code: Select all

sizer->SetSizeHints( this );
right before Layout() call.

Attached is the results.