+ /**
+ Default and only constructor.
+ Use wxMessageQueue::IsOk to check if the object was successfully initialized.
+ */
+ wxMessageQueue();
+
+ /**
+ Remove all messages from the queue.
+
+ This method is meant to be called from the same thread(s) that call
+ Post() to discard any still pending requests if they became
+ unnecessary.
+
+ @since 2.9.1
+ */
+ wxMessageQueueError Clear();
+