Menu

#196 THIS_DIALOG_STYLE problem

6.7-beta
open
5
2012-07-13
2005-03-21
Anonymous
No

Hello,

The constant THIS_DIALOG_STYLE is defined trough a
define in all the dialogs, so when there are lot of
dialogs in an application the compiler give a warning
for all redeclaration of this constant. This could be
solved by having the possibility to change the name of
this constant in each dialog (or naming it with the
name of the class instead of this).

And thanks for wxdevcpp it's really usefull!!

Fougny

Ps : sorry for my bad english

Discussion

  • Tony Reina

    Tony Reina - 2005-03-21

    Logged In: YES
    user_id=1194809

    The define seems to only be used for the .h file in which it
    lays. Why not just remove the define and replace the places
    where the value is used in the .h file?

     
  • Guru Kathiresan

    Guru Kathiresan - 2005-03-23

    Logged In: YES
    user_id=677339

    I have been using the current form in my project and I dont
    see this to be affecting the code. BUT, a bug is a bug. Just
    like the Control IDs, I'll try to fix this by using a static
    value or something like that.
    If you remove the Block that surrounds the #define and
    change the #define name in the Class Declaration, you can
    able to get ride of the error.

    You can see the fix in the next release.

    -Guru

     
  • Tony Reina

    Tony Reina - 2005-04-25

    Logged In: YES
    user_id=1194809

    I've coded a solution for this. Will apply to CVS.

    -Tony

     
  • Nobody/Anonymous

    jHI6RW nncsoeqfarec, [url=http://gqxfwayrmkbw.com/]gqxfwayrmkbw[/url], [link=http://idniiwmonqsr.com/]idniiwmonqsr[/link], http://hcqjvwtuvxzn.com/

     

Anonymous
Anonymous

Add attachments
Cancel