Search found 55 matches

by van_user
Thu Jul 03, 2008 1:35 am
Forum: wxWidgets Development (Russian)
Topic: Я замерил время на прекомпилиров
Replies: 1
Views: 1274

Насколько я понимаю, прекомпилированные заголовки следует использовать для редко изменяемых исходников ( wx.h). В остальных случаях с ними лучше не связываться. ( в gcc файлы для которых выполняется прекомпиляция указываются в makefile - там где расширение получаемого файла gch).
by van_user
Wed Jun 18, 2008 11:52 pm
Forum: C++ Development
Topic: Array of BitmapButtons display only first bitmap
Replies: 14
Views: 1612

I have tried to compile wx_2.8.7 but receive some errors. Will try again. And when will see execution of the code.
by van_user
Fri Jun 13, 2008 2:04 am
Forum: C++ Development
Topic: Array of BitmapButtons display only first bitmap
Replies: 14
Views: 1612

Thanks for help. Will try to do these steps. Result will be on next week (internet is not accessible).
About samples - I don`t find any with wxBitmapButtons in wx/samples directory.
by van_user
Fri Jun 13, 2008 1:38 am
Forum: C++ Development
Topic: Array of BitmapButtons display only first bitmap
Replies: 14
Views: 1612

This is what I get when I run this sample on my computer, IIRC this is the correct expected result, or have I misunderstood? :shock: !!! Yes, this is what I want to receve. I have tried ( hope you understand what I wrote) to compile again - but receive my screen_shot. And where could be the reason ...
by van_user
Fri Jun 13, 2008 12:45 am
Forum: C++ Development
Topic: Array of BitmapButtons display only first bitmap
Replies: 14
Views: 1612

Auria wrote:Can you reproduce this issue in a minimal compilable sample?
Same result. I create application with 1 frame (in attachment directory (7-zip) with code and makefile), initailization of colours is in wxApp::OnInit(). Maybe I don`t understend your reply?
by van_user
Thu Jun 12, 2008 11:00 pm
Forum: C++ Development
Topic: How to synchronize scrollbars of two windows?
Replies: 3
Views: 560

Maybe, creating your own scroll event handler suit you? I mean one event handler to both TextCtrl(s)( EVT_SCROLL(?)() or Connect()). And in it you programming reactions to every TextCtrl ( if they are frame`s class members - you have pointers to them). But this method need to change with adding new ...
by van_user
Thu Jun 12, 2008 10:36 pm
Forum: C++ Development
Topic: Array of BitmapButtons display only first bitmap
Replies: 14
Views: 1612

In the for-loop you are modifying the pen and brush that are already selected in the DC. I think this causes the problem. Try and move the 3 lines after the loop into the loop. int i( 0); for( ; i < fun_quantity_e; ++i) { bitmap_mas[ i] = new wxBitmap( bitmap_width, bitmap_height, -1); fill_pen -> ...
by van_user
Thu Jun 12, 2008 4:55 am
Forum: wxWidgets Development (Russian)
Topic: Нынешнее место проживания
Replies: 10
Views: 3331

Украина, Донецк(ая область).
by van_user
Thu Jun 12, 2008 12:15 am
Forum: C++ Development
Topic: Array of BitmapButtons display only first bitmap
Replies: 14
Views: 1612

Array of BitmapButtons display only first bitmap

Hello. First, sorry for my English. Now problem: I can`t find the reason why every element in array of wxBitmapButton(s) show bitmap assigned to the first bitmapbutton. Here my code: Initialization of colours: for( i = 0; i < 9; ++i) fun_colours[ i] = wxColour( 255/ ( i + 1), 0, 0); fun_colours[ 7] ...
by van_user
Wed Jun 11, 2008 9:41 pm
Forum: wxWidgets Development (Russian)
Topic: Спасибо!
Replies: 2
Views: 1256

Спасибо

Присоединяюсь.