Search found 607 matches

by eranif
Sat Feb 11, 2006 9:31 pm
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 61000

3. It seems to me, wrt your example, onPageClosing calls ClosePage which then calls DeletePage which gens a PAGE_CLOSING event which calls ClosePage, etc. That was what I did on my first cut and it didn't turn out so well. Perhaps I am missing something? You are right, I will add new event: wxEVT_C...
by eranif
Sat Feb 11, 2006 5:36 pm
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 61000

Hi, Thanks for the QA :) Some comments: 1. The control never tested on MAC so I dont have a clue about any problem ..., I only have Linux (Fedora Core4), and WinXP at home. 2. For the changing the background colour this was done intentionaly (the wxSYS_COLOUR_APPWORKSPACE to give the control more of...
by eranif
Fri Feb 10, 2006 9:26 pm
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 61000

Hi,

Did you noticed these bugs in the demo? or in your application?

I will also try to reproduce them and fix them

Thanks for reporting them
Eran
by eranif
Thu Feb 09, 2006 2:16 pm
Forum: Compiler / Linking / IDE Related
Topic: Can't compile wxWidgets with VC 2005 Express
Replies: 2
Views: 978

Sounds like an installtion problem of VS2005 - did you download and install the SDK? or just the IDE?

Try downloading the SDK from microsoft site (sorry dont have a direct link to it)

Eran
by eranif
Thu Feb 09, 2006 2:13 pm
Forum: C++ Development
Topic: How to get access to wxFrame members through other cpp file
Replies: 13
Views: 2514

I totaly agree that this is *not* the right way to write singelton.

Hoever, I think that what helped funtik is to include the main frame header file in the cpp file and not in the header file like he did.

Eran
by eranif
Thu Feb 09, 2006 1:28 pm
Forum: C++ Development
Topic: How to get access to wxFrame members through other cpp file
Replies: 13
Views: 2514

Well, for my case(s) I need only one main frame - when I need more frames I prefer using notebook.

Eran
by eranif
Thu Feb 09, 2006 10:14 am
Forum: C++ Development
Topic: PNG Image transperancy problem on Windows XP
Replies: 1
Views: 826

PNG Image transperancy problem on Windows XP

Hi - I have a problem, it is a little long, so stay with me: I have encountered a problem with the transperancy of images of type PNG on windows. My problem is like this, I created a dialog with some ListCtrl s on it, each list control contains list of icons (all of type PNG) and text beside them. O...
by eranif
Thu Feb 09, 2006 9:57 am
Forum: C++ Development
Topic: How to get access to wxFrame members through other cpp file
Replies: 13
Views: 2514

The way I do it is defining a static memner in the main frame of type MyFrame, and proveide access function to it. MyFrame.h: class MyFrame : public wxFrame { // ... bla bla // Access function to the frame static MyFrame* GetFrame() { return m_this; } private: static MyFrame* m_this; }; In MyFrame.c...
by eranif
Wed Feb 08, 2006 9:15 am
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 61000

Hi, Actually I already implemented the 'x' on tabs - but it is no committed to the CVS yet. I will have a look at the fixed tab width request - does not sound hard. Creating a .dsp/.dsw is a little overhaead for me since I am using .NET and I dont have VC6 installed ... I assumed that people were us...
by eranif
Tue Feb 07, 2006 1:49 pm
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 61000

Thanks,
Will do

Eran
by eranif
Sun Feb 05, 2006 8:29 am
Forum: C++ Development
Topic: LongToString depreciated, what do I use?
Replies: 4
Views: 1243

the C++ way of doing it:

#include <sstream>
:
std::ostringstream s;
long longValue = 100;

s << longValue;

/// Note that s.str() is std::string
std::cout << s.str().c_str() << std::endl;

HTH,
Eran
by eranif
Sat Feb 04, 2006 9:55 am
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 61000

Hi, Since I am not very familiar with Linux (I am basically a UNIX guy) - the makefile I wrote (and I hope it worked for you) simply creates an archive file libwxflatnotebook(d).a - you can then copy it to wherever you want (/usr/local/lib etc). And in your makefile add -L flag to the location you c...
by eranif
Wed Jan 25, 2006 9:56 pm
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 61000

Hi Ono and all, Sorry for the late reply, but: I merged what you did (most of it anyways) I added new style to draw the a nice border around the tabs container I also released version 1.2 with many changes, the major ones: - Linux is now tested and supported (makefile is included) - screenshot is at...
by eranif
Sun Jan 22, 2006 2:37 pm
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 61000

Hi, Just to make sure i understood you: You would like to have 2 more styles: - wxFNB_BORDER_TABS - draw a border around the tab area only - wxFNB_BORDER_WINDOW - draw a border around the window only In addition, when no windows, you would like to have the background colour to be wxSYS_COLOUR_APPWOR...
by eranif
Fri Jan 13, 2006 1:47 pm
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 61000

Hi Stefan,

I updated the sources in CVS with your fixes - I modified them a bit, but I added the changes:

- wxFNB_NODRAG flag is added
- Fixed the focus issue

I will update the release files in sourceforge once I clean my task list (your changes will be there :))

Thanks for the fixes.
Eran