title: WxPython - Dialog, module object is not Callable
body: <p>i have a custom Dialog class in file Dialog1.py</p>
  
  <pre><code>class Dialog1(wx.Dialog):
  def __init__(self, prnt):
      wx.Dialog.__init__(self, id=wxID_DIALOG1, name='Dialog1', parent=prnt,
            pos=wx.Point(110, 140), size=wx.Size(400, 498),
            style=wx.DEFAULT_DIALOG_STYLE, title='Dialog1')
  </code></pre>
  
  <p>in other file Frame - wx.Frame with button</p>
  
  <pre><code>self.button1.Bind(wx.EVT_BUTTON, self.Dec, id=wxID_FRAME3BUTTON1)
  </code></pre>
  
  <p>and method  to show Dialog </p>
  
  <pre><code>def Dec(self, event):
      import Dialog1
      self.dialog = Dialog1(self)
      self.dialog.ShowModal()
      #dialog.Destroy()
      return True
  </code></pre>
  
  <p>and When I Push this Button i have a error;</p>
  
  <pre><code>TypeError: 'module' is not Callable
  </code></pre>
  
  <p>Why?, please Help Me</p>
  
  <p>Edit: Ok is work now, to much copy-paste method ... Sorry </p>
  
  <pre><code>REMOVE THIS QUESTION
  </code></pre>