Search found 86 matches

by Mungo1981
Tue Mar 12, 2019 5:40 pm
Forum: C++ Development
Topic: Short Problem with #include <wx/combobox.h>
Replies: 29
Views: 1240

Re: Short Problem with #include <wx/combobox.h>

Ok, Just I have try your last recommendation, and now the Code would compile graceful. I'm have this evening to much to do. Cleaning my Home, Cleaning my Computer .... So I would think I will check how it works tomorrow. But just I can say you my very thanks, and my esteem. So with very much thanks:...
by Mungo1981
Mon Mar 11, 2019 7:50 pm
Forum: C++ Development
Topic: Short Problem with #include <wx/combobox.h>
Replies: 29
Views: 1240

Re: Short Problem with #include <wx/combobox.h>

Ok,
I have included include "wx/wx.h"
But it will give me the first set of Errors.
by Mungo1981
Mon Mar 11, 2019 6:49 pm
Forum: C++ Development
Topic: Short Problem with #include <wx/combobox.h>
Replies: 29
Views: 1240

Re: Short Problem with #include <wx/combobox.h>

Here are the x.cpp: #include <wx/combobox.h> #include "SeqsNameBasket.h" SeqsNameBasket::SeqsNameBasket() { //ctor } SeqsNameBasket::~SeqsNameBasket() { //dtor } void SeqsNameBasket::setComboBox(wxComboBox box) { } You can see I have modify the Code a little bit,: So I become lesser Error Messages: ...
by Mungo1981
Mon Mar 11, 2019 5:41 pm
Forum: C++ Development
Topic: Short Problem with #include <wx/combobox.h>
Replies: 29
Views: 1240

Re: Short Problem with #include <wx/combobox.h>

Ok, I'm late but here is the Information. #ifndef SEQSBASKET_H #define SEQSBASKET_H #include <wx/wx.h> #include <wx/combobox.h> class SeqsBasket { public: SeqsBasket(); virtual ~SeqsBasket(); void setComboBox(wxComboBox* box); protected: private: }; #endif // SEQSBASKET_H I'm was ill to high Diabete...
by Mungo1981
Sun Mar 10, 2019 5:47 pm
Forum: C++ Development
Topic: Short Problem with #include <wx/combobox.h>
Replies: 29
Views: 1240

Re: Short Problem with #include <wx/combobox.h>

Yes, its out my old MMA Music Composition Program. With your help it run just easy and stable. But I have had to change some thing. It now has a ComboBox in the Panel - you remember the old Problem with the first try Frame. So this ComboBox should hold the Names of all Sequences. And I think it call...
by Mungo1981
Sun Mar 10, 2019 5:31 pm
Forum: C++ Development
Topic: Short Problem with #include <wx/combobox.h>
Replies: 29
Views: 1240

Re: Short Problem with #include <wx/combobox.h>

Ok, I have try what you say, here are my ErrorCodes: ||=== Build: Debug in Test100 (compiler: GNU GCC Compiler) ===| /usr/local/include/wx-3.1/wx/object.h|361|Nicht definierter Verweis auf `wxObject::Ref(wxObject const&)'| /usr/local/include/wx-3.1/wx/thread.h|291|Nicht definierter Verweis auf `wxMu...
by Mungo1981
Sun Mar 10, 2019 4:25 pm
Forum: C++ Development
Topic: Short Problem with #include <wx/combobox.h>
Replies: 29
Views: 1240

Short Problem with #include <wx/combobox.h>

Dear, Community, I have following Problem I will try to solve: I need a Function who automatically add some Strings/Points-of-Choices to a ComboBox. I think I can solve this by a Function in a Object/Class. So I only need a unsorted Set in this Class. Give my data in a Object of this Class, Use my f...
by Mungo1981
Sat Mar 02, 2019 3:22 pm
Forum: C++ Development
Topic: How to draw a Panel Picture when click on the Panel.
Replies: 13
Views: 555

Re: How to draw a Panel Picture when click on the Panel.

I'm stupid. Excuse me when I'm have a so long brain line. But it's clear why it non can work: In every Paint-Event I recalculate the Data of the MyDataObject - here short called "param". So this a heuristic function which will calculate the Notes of my Music. In because it's a heuristic function it ...
by Mungo1981
Sat Mar 02, 2019 2:38 pm
Forum: C++ Development
Topic: How to draw a Panel Picture when click on the Panel.
Replies: 13
Views: 555

Re: How to draw a Panel Picture when click on the Panel.

Ok, here is the Code on my Paint-Event handler. void MyPanel::OnPanel1Paint(wxPaintEvent& event) { wxClientDC dc(this->Panel1); if(this->Seqs) { if((this->SeqName)!="") { wxString naString = this->SeqName; std::string SeqNameakut = std::string(naString.mb_str()); DrumAleatorikParameter param = this-...
by Mungo1981
Fri Mar 01, 2019 7:43 pm
Forum: C++ Development
Topic: How to draw a Panel Picture when click on the Panel.
Replies: 13
Views: 555

Re: How to draw a Panel Picture when click on the Panel.

So I have this fixed too witch proceeded another Problem.
I have put all in the wxPaintEvent Handler Function.
Now the diagram is permanently.
But my Program is Permanently Blocked too.
by Mungo1981
Fri Mar 01, 2019 7:20 pm
Forum: C++ Development
Topic: How to draw a Panel Picture when click on the Panel.
Replies: 13
Views: 555

Re: How to draw a Panel Picture when click on the Panel.

Ok,
I will say you may very thanks.
But now I have another Problem.
It will show me my Test-Text, shortly and will than print the default Color only.
In which way can I Save my Picture so it would be shown permanently.
by Mungo1981
Fri Mar 01, 2019 7:03 pm
Forum: C++ Development
Topic: How to draw a Panel Picture when click on the Panel.
Replies: 13
Views: 555

Re: How to draw a Panel Picture when click on the Panel.

Ok,
I'm silly.
I have tried this page on Help over and over.
But now it works :shock: :? :roll:
by Mungo1981
Fri Mar 01, 2019 6:49 pm
Forum: C++ Development
Topic: How to draw a Panel Picture when click on the Panel.
Replies: 13
Views: 555

Re: How to draw a Panel Picture when click on the Panel.

Yes this is the Solution: 1. The Panel2 is a member variable of Panel1. 2. And yes, the MyDataObject is passed like a member pointer variable. 3. Then when it is transfered - or lets say connected - a Funktion is called, So the Process could start. So what I only - think - I would need is a DC Objec...
by Mungo1981
Fri Mar 01, 2019 6:39 pm
Forum: C++ Development
Topic: How to draw a Panel Picture when click on the Panel.
Replies: 13
Views: 555

How to draw a Panel Picture when click on the Panel.

Hey Community, I have another silly Question: 1. I have a Panel in another Panel-Class. Let Say Panel2 in Panel1. 2. So when I would click on this Panel2 - like EVT-LEFT-DCLICK it should draw a Picture on it self. 3. This Panel2 is not a separate Class it lives in the Class on the Panel1. 4. This Dr...