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: 3815
- Mon Nov 22, 2010 8:34 am
- Forum: C++ Development
- Topic: Problem when using wxGenericColourDialog
- Replies: 3
- Views: 1172
Hi, well, wxGenericColourDialog is built only in UNIVERSAL build mode (WXUNIV=1, it, in turn, defines __WXUNIVERSAL__). Use wxColourDialog instead (it will work for UNIVERSAL mode too). From colordlg.h ... #if wxUSE_COLOURDLG #if defined(__WXMSW__) && !defined(__WXUNIVERSAL__) #include "wx/msw/color...
- Wed Oct 27, 2010 12:44 pm
- Forum: C++ Development
- Topic: wxString already defined in dll
- Replies: 30
- Views: 7359
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: 7359
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 *)" ([email protected]@[email protected][email protected]) ist bereits in libConfig.lib(libConfig.dll) definiert. 1>wxbase29ud.lib(object.obj) : error LNK2...
- Wed Oct 20, 2010 11:31 am
- Forum: C++ Development
- Topic: warning RC4005
- Replies: 6
- Views: 2578
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: 1063
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: 831
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: 986
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: 3649
- 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: 2184
From MSDN: C Run-Time Error R6034 An application has made an attempt to load the C runtime library without using a manifest. This is an unsupported way to load Visual C++ DLLs. You need to modify your application to build with a manifest. For more information, see the "Visual C++ Libraries as Shared...
- Thu Sep 02, 2010 10:18 am
- Forum: wxWidgets Development (Russian)
- Topic: wxSocketServer демон
- Replies: 2
- Views: 1733
Поскольку вопрос задан по русски, я переместил его в в русскоязычную ветку форума. Что касается самого вопроса, то ответ, в принципе, да, но... Я не уверен, что это можно сделать используя wxWidgets (по крайней мере в дочерних процессах). С обычными сокетами вроде проблем быть не должно (давно таким...
- Fri Aug 27, 2010 11:04 am
- Forum: wxWidgets Development (Russian)
- Topic: Перетаскивание за панельку
- Replies: 2
- Views: 1653
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: 1057
- Fri Aug 20, 2010 6:30 am
- Forum: C++ Development
- Topic: Apply button in wxStdDialogButtonSizer
- Replies: 4
- Views: 1310
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: 1310
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...