Search found 120 matches

by kolo
Wed Dec 13, 2006 2:18 pm
Forum: General Development
Topic: Template constructor
Replies: 3
Views: 1475

I find answer in standart: 14.5.2,5(note) Note: because the explicit template argument list follows the function template name, and because conversion member function templates and constructor member function templates are called without using a function name, there is no way to provide an explicit ...
by kolo
Wed Dec 13, 2006 1:23 pm
Forum: General Development
Topic: Template constructor
Replies: 3
Views: 1475

RE:

I know, that this is a simple solution, but I don`t need "solution", i need answer to my question :-). I know another few solutions how to avoid this problem. I got just theoretical interest :), not practical.
by kolo
Wed Dec 13, 2006 12:21 pm
Forum: General Development
Topic: Template constructor
Replies: 3
Views: 1475

Template constructor

I have one c++ question: how to call template constructor of some class. For example: #include <iostream> class Speaker { public: void SayHello(){ std::cout << "Hello world" << std::endl; }; class Some { public: template<class A> Some() { A*a = new A(); a->SayHello(); } }; int main() { Som...
by kolo
Mon Dec 04, 2006 8:53 am
Forum: C++ Development
Topic: wxWidgets and templates
Replies: 6
Views: 2027

I solve this problem by parsibg macroses.
by kolo
Wed Nov 29, 2006 1:03 pm
Forum: C++ Development
Topic: wxWidgets and templates
Replies: 6
Views: 2027

wxWidgets and templates

I have the following code template<class T> class MyClass : public T { ... DECLARE_DYNAMIC_CLASS(MyClass) } ... IMPLEMENT_DYNAMIC_CLASS(/*I don`t know that I must put here*/) I try IMPLEMENT_DYNAMIC_CLASS(MyClass<BaseClass>, BaseClass) , but this code is wrong. Is anybody have an idea how I can solv...
by kolo
Wed Sep 06, 2006 12:42 pm
Forum: Open Discussion
Topic: Need a control
Replies: 3
Views: 1756

Screenshot: Image. This control has two states - minimized and maximized, can contain, for example, links and picrures
by kolo
Tue Sep 05, 2006 2:42 pm
Forum: Open Discussion
Topic: Need a control
Replies: 3
Views: 1756

Need a control

is anybody know the control, like Jorg`s wxFoldPanelBar, which can be placed into the window like panel, but not like bar?
by kolo
Fri Aug 04, 2006 7:58 am
Forum: C++ Development
Topic: Dynamic creation and event handling of wxMenuItems
Replies: 5
Views: 1705

You can create your own event type, there you can store pointer to data. When user click on menu item generate that event and handle it.
by kolo
Thu Aug 03, 2006 8:27 am
Forum: Announcements and Discoveries
Topic: ANN: wxPack Released
Replies: 23
Views: 9300

May be, it will be usefull if you also make one package for each compilation. I mean, one pack for static library and so on. I always use only static library build, and have no needs in dll`s .
And another one moment, why u don`t build wxWidgets with VS 2005?
by kolo
Thu Jul 27, 2006 6:45 am
Forum: C++ Development
Topic: c++ documentation of function use
Replies: 9
Views: 2411

If u find it, please post link, it can be useful for me too. :)
by kolo
Thu Jul 27, 2006 6:42 am
Forum: C++ Development
Topic: c++ documentation of function use
Replies: 9
Views: 2411

Caller Graph in Microsoft Visual Studio
by kolo
Wed Jul 19, 2006 2:42 pm
Forum: Open Discussion
Topic: Cool looking icons
Replies: 4
Views: 1859

I try to find there :) but it has no results, but anyway thanks for helping :D
by kolo
Wed Jul 19, 2006 1:54 pm
Forum: Open Discussion
Topic: Cool looking icons
Replies: 4
Views: 1859

Cool looking icons

Is anybodt know where I can download freeware cool looking xpstyled icons?
Thx, Kolo
by kolo
Mon Jun 05, 2006 2:17 pm
Forum: General Development
Topic: Realizing tables like in MS Word
Replies: 0
Views: 628

Realizing tables like in MS Word

I need to realize tables, that provide functionality like tables in MS Word. but i still have no idea about the most powerful structure for that tables. Now I think about table stucture like in HTML, but I don`t feel that this is a best idea :) , the big problem for me - cells in my tables may conta...
by kolo
Wed Apr 26, 2006 10:44 am
Forum: Announcements and Discoveries
Topic: wxAUI 0.9.2 released - docking/toolbar library for wxWidgets
Replies: 25
Views: 10281

Problems with toolbars

@theigor I had the same problem with toobars. There are problems with size after loading perspective. Try this code Somewhere in your code // creating toolbars wxSize toolbarBestSize = m_frameManager.GetPane("yourToolBarName").best_size; // after loading perspective m_frameManager.GetPane(...