wxDefaultCoord
Andreas Falkenhahn <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
So methods like wxWindow::SetSize() support passing wxDefaultCoord to the x and y coordinates "to indicate that the existing value should be used" but then wxDefaultCoord is defined as -1 which is a perfectly normal position, isn't it? So shouldn't wxDefaultCoord be something like -1000000 or so instead to make it identifiable as a magic value? Defining it as -1 looks weird to me. What if I want to move the window to the position x=-1 and y=-1? Doesn't seem possible with the current handling of wxDefaultCoord or am I missing something here? -- Best regards, Andreas Falkenhahn mailto:[email protected] -- Please read https://www.wxwidgets.org/support/mlhowto.htm before posting. --- You received this message because you are subscribed to the Google Groups "wx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/1494035905.20240810125124%40falkenhahn.com.