Search found 103 matches

by VonGodric
Sat Feb 18, 2006 9:21 pm
Forum: The Code Dump
Topic: Fancy Buttons Panel
Replies: 11
Views: 8025

I'm more interested in how you got those fancy tab buttons:P
by VonGodric
Sat Feb 18, 2006 9:19 pm
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 403498

Nice, Few bugs: 1) when dragging a tab from left to right, it places the tab one tab to the left rather then to the position where you released the mouse. 2) When style wxFNB_MOUSE_MIDDLE_CLOSES_TABS is set to true then before closing the page when middle mouse button is clicked on non-active page, ...
by VonGodric
Fri Feb 17, 2006 4:44 pm
Forum: The Code Dump
Topic: Fancy Buttons Panel
Replies: 11
Views: 8025

Looks really nice, but I can't get it to compile src/ui_manager/wxbuttonpanel.cpp: In function `wxColour BrightenColor(wxColour&, double)': src/ui_manager/wxbuttonpanel.cpp:20: warning: converting to `int' from `double' src/ui_manager/wxbuttonpanel.cpp:23: warning: converting to `int' from `doub...
by VonGodric
Thu Feb 16, 2006 8:25 pm
Forum: Component Writing
Topic: question about wxFileConfig
Replies: 4
Views: 2133

Yes that's exactly my problem, I don't want it to be saved. I don't explicitly save it, just read and write. That's why I use wxFileConfig...
by VonGodric
Mon Feb 13, 2006 7:24 pm
Forum: Component Writing
Topic: Mouse over the button
Replies: 16
Views: 12681

You could also us smth like this... #include <wx/button.h> #include <wx/tooltip.h> class MyButton : public wxButton { public: MyButton( wxWindow* parent, wxWindowID id, const wxString& label = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long...
by VonGodric
Mon Feb 13, 2006 5:06 pm
Forum: Component Writing
Topic: question about wxFileConfig
Replies: 4
Views: 2133

question about wxFileConfig

I don't exactly understand how wxFileConfig works. I create an instance of it in a singleton class class regManager : public wxFileConfig { private: regManager( ); ~regManager( ); static regManager * m_Instance; public: static regManager * GetInstance ( ); static void ReleaseInstance( ); }; and src ...
by VonGodric
Mon Feb 13, 2006 11:18 am
Forum: Component Writing
Topic: Is there xml version of wxFileConfig?
Replies: 4
Views: 1934

okay, I think I'll make one then based on wxFileConfig...
by VonGodric
Mon Feb 13, 2006 12:16 am
Forum: Component Writing
Topic: Is there xml version of wxFileConfig?
Replies: 4
Views: 1934

Is there xml version of wxFileConfig?

Well the title states my question. Is there?
by VonGodric
Fri Feb 10, 2006 10:48 pm
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 403498

In my program, sry didn't compile the demo.
by VonGodric
Fri Feb 10, 2006 7:55 pm
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 403498

I tryed it out ( latest src from cvs 2006.02.10 ) and it's rather buggy :(

SetSelection ( page ), nor ctrl+tab doesn't always set the page to active, event.GetOldSelection doesn't return old selected page ( in OnPage changed event )

But other then that it's good work guys
by VonGodric
Tue Jan 31, 2006 1:50 pm
Forum: Platform Related Issues
Topic: Problem with wxGTK
Replies: 8
Views: 2811

seems neato, but I already modified other tabs to allow more tabs then fit on the page and context menus etc... so too lazy to reimplement now. But tnx -I'll keep it in mind next time :P
by VonGodric
Sun Jan 29, 2006 10:39 am
Forum: Platform Related Issues
Topic: Problem with wxGTK
Replies: 8
Views: 2811

Anyway I don't know if the problem is in my src or wxGTK -I gave up and implemented These VS like tabs I even like my program more now :P
by VonGodric
Fri Jan 27, 2006 5:26 pm
Forum: Platform Related Issues
Topic: Problem with wxGTK
Replies: 8
Views: 2811

No specific order, basically only append pages ( dunno why I used insert in the first place... ) But the thing is I need only to remove the tab and stc control that is in the tab is used by all tabs that are open. If there is only one tab and I close it, everything is OK, but if more it crashes. Doe...
by VonGodric
Thu Jan 26, 2006 10:06 pm
Forum: Platform Related Issues
Topic: Problem with wxGTK
Replies: 8
Views: 2811

I'm using wxGTK 2.6.2

I did indeed use PageInsert(), but even when I changed it to AddPage, it still crashes with same results.
by VonGodric
Thu Jan 26, 2006 8:15 pm
Forum: Platform Related Issues
Topic: Problem with wxGTK
Replies: 8
Views: 2811

Problem with wxGTK

Hello I'm having a weird problem with wxGTK. I have wxNoteBook, page insertion is OK, but call to wxNoteBook::RemovePage( index ); just closes down the program. gdb shows the following error: (gdb) run ./FBIde04 Starting program: /home/vongodric/FBIde0.4/output/FBIde04 ./FBIde04 [Thread debugging us...