#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2004
    Location
    Bimingham,AL
    Posts
    68
    Rep Power
    11

    refesh problem wx


    Hi,
    I have a treectrl in my gui . I have a popup right click item which adds a node .

    However my problem is that i dont the added node until i minimize and maximize the window.
    I've tried every thing like refresh , laying out the sizers etc.

    Please help me.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2004
    Location
    Regensburg, Germany
    Posts
    147
    Rep Power
    17
    Did you try the window "Refresh()" or the "EnsureVisible()" method for the new item?
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2004
    Location
    Bimingham,AL
    Posts
    68
    Rep Power
    11
    Its kind of stange

    I have a single choice dialog which displays names of the subnode of tree.
    I have to do a refesh only if i add that node after showing the dialog .
    But this is only a problem on windows machine and not on linux strangly.

IMN logo majestic logo threadwatch logo seochat tools logo