Recent content by Kinniken

  1. Kinniken

    Activating root user

  2. Kinniken

    Compiling wxWidgets for 10.4?

    I'm pleased to say that I'm about done with that project :D Only a few wrinkles to iron out (like that annoying vector sorting problem) and I'll be done. Thanks for your help, you saved me many fruitless hours peering at stupid bugs :)
  3. Kinniken

    Sorting a vector of pointers?

    Hi, I have a vector of objects "students" with an overload < operator which allows me to sort it with the following command: sort(students_list->begin(), students_list->end()); This works fine. However, I need to do the same with a vector of pointers to students. Is there a way I can use...
  4. Kinniken

    Compiling wxWidgets for 10.4?

    I guess I'll just use global constants until I find a better way. In the meantime, I have yet an other question... How do you create a multi-line wxTextCtrl? According to the doc I thought txAdresse->SetWindowStyle(wxTE_MULTILINE); would do it but it seems to have no effect...
  5. Kinniken

    Compiling wxWidgets for 10.4?

    It doesn't work :( : UTC.h:69: error: a brace-enclosed initializer is not allowed here before '{' token UTC.h:69: error: invalid in-class initialization of static data member of non-integral type 'const std::string []'
  6. Kinniken

    Compiling wxWidgets for 10.4?

    Quick and (hopefully) easy C++ question... how do I initialise a static const table of either strings or char* in one of my class? I tried things like: static const char** myStrings = {"s1","s2","s3"}; or static const string* myStrings = {"s1","s2","s3"}; But the compiler refuses them...
  7. Kinniken

    Compiling wxWidgets for 10.4?

    This thing is even weirder than I thought. Even when using .Skip(), the method supposed to ensure that the normal event behaviour is executed, every wxGrid methods to detect selections fails. However, someone pointed out an obvious workaround to me: the event passed in parameter has a...
  8. Kinniken

    Compiling wxWidgets for 10.4?

    erratum: all the cells highlighted in aqua return true to IsInSelection(). It's just that they are not in SelectedRows().
  9. Kinniken

    Compiling wxWidgets for 10.4?

    Which one would that be?
  10. Kinniken

    Compiling wxWidgets for 10.4?

    And as usual, the insight comes ten minutes after acknowledging defeat: my override of the SelChange() event is preventing the triggering of parts of the wx code devoted to sel change... I switch my event to an other trigger and the first "miracle" happens: the black outline now moves to the...
  11. Kinniken

    Compiling wxWidgets for 10.4?

    I'm totally at a loss on this problem... Here is what it looks like: Notice the odd black outline on cell (0,0), which is there when the grid is created and is impossible to move or make disappear. The selected row is never taken into account, nowhere - IsInSelection() called on one of...
Top