Hi,
i think it is better to use wxListCtrl for that.
Search found 1471 matches
- Tue Dec 07, 2010 12:04 pm
- Forum: C++ Development
- Topic: Image in cell of wxGrid?
- Replies: 5
- Views: 5806
- Mon Nov 22, 2010 8:34 am
- Forum: C++ Development
- Topic: Problem when using wxGenericColourDialog
- Replies: 3
- Views: 2286
- Wed Oct 27, 2010 12:44 pm
- Forum: C++ Development
- Topic: wxString already defined in dll
- Replies: 30
- Views: 12163
briceandre, In this case, it is a bad idea because his dll seems to use wxWidgets. yes, you are right. I also meant it (probably implicitly) mael15, this dynamic/static linking with wxlibs is new to me, do you some resource that explains to me what to do? first of all, you have to build WX with opti...
- Wed Oct 27, 2010 11:56 am
- Forum: C++ Development
- Topic: wxString already defined in dll
- Replies: 30
- Views: 12163
Re: wxString already defined in dll
Hi, hi everybody! i am about to despair over this error: 1>wxbase29ud.lib(object.obj) : error LNK2005: "public: __thiscall wxFormatString::wxFormatString(wchar_t const *)" (??0wxFormatString@@QAE@PB_W@Z) ist bereits in libConfig.lib(libConfig.dll) definiert. 1>wxbase29ud.lib(object.obj) : ...
- Wed Oct 20, 2010 11:31 am
- Forum: C++ Development
- Topic: warning RC4005
- Replies: 6
- Views: 6170
Hi,
i guess you need replace
to
i guess you need replace
Code: Select all
wxFlexGridSizer *fgs = new wxFlexGridSizer(6, 3, 5, 5);
Code: Select all
wxFlexGridSizer *fgs = new wxFlexGridSizer(8, 2, 5, 5);
- Tue Oct 12, 2010 7:41 pm
- Forum: Compiler / Linking / IDE Related
- Topic: wxListBook issues with ImageList and SetPageImage
- Replies: 2
- Views: 1723
Hi, is the prefImageList_ local variable? wxListBook doesn't save own copy of the wxImageList, it just save the pointer. Try this: wxImageList* prefImageList_; ... prefImageList_ = new wxImageList(32, 32); for(int i=0;i<3;i++) { prefImageList_->Add(wxBitmap(...)); //Here i add images to the imagelis...
- Tue Oct 12, 2010 6:45 am
- Forum: C++ Development
- Topic: Two rows made with nested box sizer. Why do widths differ?
- Replies: 2
- Views: 1400
Re: Two rows made with nested box sizer. Why do widths diff
Hi. Well, to deal with sizers not the most simple business :) Attached program lays out four text controls, two each on two rows, using a horizontal box sizer for each row, and a vertical sizer holding them both. Each control is added to its row sizer with a different proportion and wxEXPAND. Even s...
- Fri Oct 08, 2010 12:47 pm
- Forum: C++ Development
- Topic: GetRowHeight - GetColumnWidth - wxFlexgridsizer
- Replies: 2
- Views: 2097
Hi, it will do the job
Code: Select all
long height = fgSizer->GetRowHeights()[idx];
long width = fgSizer->GetColWidths()[idx];
- Mon Oct 04, 2010 12:50 pm
- Forum: wxWidgets Development (Russian)
- Topic: dynamic_cast
- Replies: 9
- Views: 5412
- Mon Oct 04, 2010 11:47 am
- Forum: Compiler / Linking / IDE Related
- Topic: Application cannot be initialized properly-wxWidgets 2.8.11
- Replies: 4
- Views: 2924
- Thu Sep 02, 2010 10:18 am
- Forum: wxWidgets Development (Russian)
- Topic: wxSocketServer демон
- Replies: 2
- Views: 2413
Поскольку вопрос задан по русски, я переместил его в в русскоязычную ветку форума. Что касается самого вопроса, то ответ, в принципе, да, но... Я не уверен, что это можно сделать используя wxWidgets (по крайней мере в дочерних процессах). С обычными сокетами вроде проблем быть не должно (давно таким...
- Fri Aug 27, 2010 11:04 am
- Forum: wxWidgets Development (Russian)
- Topic: Перетаскивание за панельку
- Replies: 2
- Views: 2796
Re: Перетаскивание за панельку
Привет. Доброго времени суток, есть приложение без заголовка, его нужно как то перетаскивать по экрану. :) Есть wxStaticBitmap с картинкой, теперь вопрос, а как сделать, чтобы левой мышкой за нее таскалось? Заранее спасибо! OS Windows. Это нетрудно :) Советую посмотреть пример shaped (WX_ROOT/sample...
- Sat Aug 21, 2010 6:16 am
- Forum: C++ Development
- Topic: conversion wx2.8 to wx2.9 help
- Replies: 3
- Views: 2209
- Fri Aug 20, 2010 6:30 am
- Forum: C++ Development
- Topic: Apply button in wxStdDialogButtonSizer
- Replies: 4
- Views: 2831
Many thanks tan. I thought it'd be something like that. Out of interest, what do the other buttons do (YES, SAVE, CLOSE, NO, HELP, CONTEXT_HELP)? Is this documented somewhere, and if so where (couldn't see anything in the 2.9.1 manual)? I don't know about documentation, but there are sources :) WX_...
- Wed Aug 18, 2010 5:28 am
- Forum: C++ Development
- Topic: Apply button in wxStdDialogButtonSizer
- Replies: 4
- Views: 2831
Re: Apply button in wxStdDialogButtonSizer
Hi, Hi everyone, I'm just after some clarification about the non-OK/Cancel buttons in the wxStdDialogButtonSizer and their actions (e.g. Apply). I have added such a sizer to a custom dialog that contains OK, Cancel and Apply buttons. And I'd like to know about the Apply button - is it handled automa...