wxWindows

This is a discussion on wxWindows within the Windows Programming forums, part of the Platform Specific Boards category; I got this thing following a tutorial, and it keeps running the error of redefining bool Anyone know how to ...

  1. #1
    C++ n00bie :D
    Join Date
    Jul 2004
    Posts
    63

    wxWindows, Header Error

    I got this thing following a tutorial, and it keeps running the error of redefining bool Anyone know how to fix this? I looked into it, and it is trying to redifine bool so that instead of returning true, it always return 1 or 0(pointless... ) and now my program wont compile. Any idea how I could fix this, or is there a version error or something? Im using Dev-C++ 4.9.9.0 with wxWindows 2.4.2

    PS: The tutorial is this one.
    Last edited by LloydUzari; 08-13-2004 at 12:21 PM. Reason: Make topic title better :D

  2. #2
    Registered User
    Join Date
    Dec 2002
    Posts
    35
    what ? the same thing? it was in 2.2.9 too. Did you tried to comment out in header?
    Want to learn? Then try to teach...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Convert Windows GUI to Linux GUI
    By BobS0327 in forum Linux Programming
    Replies: 21
    Last Post: 11-27-2005, 04:39 AM
  2. Does anyone use wxwindows as a GUI
    By scottmanc in forum C++ Programming
    Replies: 2
    Last Post: 03-30-2003, 07:05 PM
  3. Help with wxwindows
    By scottmanc in forum C++ Programming
    Replies: 2
    Last Post: 03-20-2003, 02:30 PM
  4. API Question
    By Troll_King in forum Linux Programming
    Replies: 11
    Last Post: 02-21-2002, 09:18 AM
  5. wxWindows Installation
    By Drew909 in forum C++ Programming
    Replies: 0
    Last Post: 02-14-2002, 11:18 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21