Search found 207 matches

by spectrum
Fri Sep 14, 2007 6:47 am
Forum: C++ Development
Topic: question on std::string and wxString
Replies: 2
Views: 596

thanks,

i've found that with 'wx-config --unicode=no' under linux i have solved all my issues without the need of conversions.

Thanks, angelo
by spectrum
Thu Sep 13, 2007 6:45 pm
Forum: C++ Development
Topic: question on std::string and wxString
Replies: 2
Views: 596

question on std::string and wxString

hello all, sorry for the n'th thread on this, i've read some threads on it, but i was look for a suggestion about the best way to go writing portable code. I was looking for the best way to align std::string to wxString. I've started to work with wxWidgets 2.8 under windows. I've soon noticed that w...
by spectrum
Thu Sep 13, 2007 6:28 pm
Forum: C++ Development
Topic: strange SetPen problem (wx 2.8.2)
Replies: 1
Views: 454

solved,

the error was just my bad code, now i create wxPen objects inside the OnPaintPreview() scope, and everything work.

thanks angelo
by spectrum
Thu Sep 13, 2007 7:26 am
Forum: C++ Development
Topic: strange SetPen problem (wx 2.8.2)
Replies: 1
Views: 454

strange SetPen problem (wx 2.8.2)

hello all, i've a strange problem on wondows with SetPen. I've allocated a wxPen in my class, and after a certain index selection on a wxListCtrl, i do a SetColor on that pen, and immediately after i draw a rectangle of that color in a panel, using wxClientDC. The rectangle border color is the right...
by spectrum
Thu Sep 13, 2007 6:49 am
Forum: C++ Development
Topic: again on png transparency
Replies: 24
Views: 5915

many thanks for the reply, i'm sorry i didn't it before. Attached there is the image, as is shown by the wxListCtrl. Is probably like you said about the bad Blit, some black pixels are visible. I've try to refresh and update, nothing change. I wouldn't actually update to 2.8.5, i would leave it just...
by spectrum
Wed Sep 12, 2007 7:34 am
Forum: C++ Development
Topic: again on png transparency
Replies: 24
Views: 5915

1) no, this is not necessary since the control should be automatically refreshed after an image insertion. 2) as i said before, is a wxListCtrl, with a wxImageList attached. 3) wxWidgets 2.8.2 mswin 4) i'm on Windows Vista Businnes this is the involved lines where i add the image wxImage i("128x128_...
by spectrum
Tue Sep 11, 2007 8:02 am
Forum: C++ Development
Topic: again on png transparency
Replies: 24
Views: 5915

again on png transparency

hello all, i've troubles about the png transparency, since i haven't found any solution to my problem, even watching the previous discussions about this argument. I'm adding some png images to a wxImageList, that's then attached to a wxListCtrl. This should be a very standard way to go, nothing stra...
by spectrum
Thu Sep 06, 2007 10:23 am
Forum: C++ Development
Topic: need some help on wxMenuItem::SetBitmap
Replies: 1
Views: 612

need some help on wxMenuItem::SetBitmap

hello all, i have the followig problem: i create a wxMenuBar by an external interface builder (wxFormBuilder) and later, in the form initialization, i'm trying to add some wxArtProvider bitmaps, using wxMenuItem::SetBitmap, but they come not visible in the menu. I can only see the art provider bitma...
by spectrum
Thu Sep 06, 2007 9:27 am
Forum: C++ Development
Topic: getting buttons of wxStdDialogButtonSizer using XRCID
Replies: 2
Views: 440

stupid me! yes wxID_APPLY work just fine ;)

thanks
angelo
by spectrum
Wed Sep 05, 2007 1:47 pm
Forum: C++ Development
Topic: getting buttons of wxStdDialogButtonSizer using XRCID
Replies: 2
Views: 440

getting buttons of wxStdDialogButtonSizer using XRCID

hello all, i was wandering if there is a way to handle the events of a wxStdDialogButtonSizer, that i have designed using wxFormBuilder, generating then the XML. I've used XRCID("resname") for the other objects on the form, but the single buttons of wxStdDialogButtonSizer seems have not their names ...
by spectrum
Thu Aug 30, 2007 8:46 am
Forum: C++ Development
Topic: multipanel widget
Replies: 4
Views: 836

ok thabks, i've solved now, i think the easy and fast solution is use multiple panels in a sizer, in wxFormBuilder, i let all hidden execpt the one where i work.

Many thanks
angelo
by spectrum
Thu Aug 30, 2007 8:40 am
Forum: C++ Development
Topic: multipanel widget
Replies: 4
Views: 836

ok, the only problem is how to design the panels in wxFormBuilder, the to show and hide them is not a problem.

angelo
by spectrum
Thu Aug 30, 2007 8:24 am
Forum: C++ Development
Topic: multipanel widget
Replies: 4
Views: 836

multipanel widget

hi all,

i was looking for something exactly like a wxNotebook, but with the tabs hidden, to design the panels with wxFormBuilder, but then show only the selected panel in the application.
Seems that wxNotebook can't hide the tabs, so maybe there is another control for this ?

thanks,
Angelo
by spectrum
Wed Aug 29, 2007 12:43 pm
Forum: C++ Development
Topic: wxSplitterWindow, resize problems
Replies: 2
Views: 1129

infinite thanks, i've lost some hours to understand how to stretch all the listctrl to meet all the panel dimensions, at the end ther was thet "proportion" property to be set to 1, as in your example.

thanks again

angelo
by spectrum
Wed Aug 29, 2007 11:32 am
Forum: C++ Development
Topic: wxSplitterWindow, resize problems
Replies: 2
Views: 1129

wxSplitterWindow, resize problems

hi all, i've put up a basic application using wxFormBuilder. I have now a wxFrame, with a wxSplitterWindow and 2 wxListCtrl. i can handle the splitter events in this way Connect( XRCID("splitter"), wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFun...