]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/protocol.cpp
generate a text event even if SetValue() didn't really chaneg anything
[wxWidgets.git] / src / common / protocol.cpp
index c3f0c1e4b4dd8139b65ea092f44ab41958b7f996..ca133288c9ed0c21a03aa2a4a0323c3e19b0c07d 100644 (file)
@@ -40,9 +40,9 @@
 
 wxProtoInfo::wxProtoInfo(const wxChar *name, const wxChar *serv,
                          const bool need_host1, wxClassInfo *info)
+           : m_protoname(name),
+             m_servname(serv)
 {
-    m_protoname = name;
-    m_servname = serv;
     m_cinfo = info;
     m_needhost = need_host1;
     next = wxURL::ms_protocols;